[mw-devel] MW3 r1034 - trunk/src
welshbyte at sucs.org
welshbyte at sucs.org
Sun Apr 13 01:21:45 BST 2008
Author: welshbyte
Date: 2008-04-13 01:21:44 +0100 (Sun, 13 Apr 2008)
New Revision: 1034
Modified:
trunk/src/newmain.c
Log:
Fix lack of parentheses caused by switching between Python and C too often.
Sigh. This adds back !pwd functionality.
Modified: trunk/src/newmain.c
===================================================================
--- trunk/src/newmain.c 2008-04-12 21:18:07 UTC (rev 1033)
+++ trunk/src/newmain.c 2008-04-13 00:21:44 UTC (rev 1034)
@@ -470,9 +470,10 @@
void c_pwd(CommandList *cm, int argc, char **argv, char *args)
{
- if (currentfolder < 0)
+ if (currentfolder < 0) {
printf(_("No current folder.\n"));
return;
+ }
printf(_("Current folder = %s\n"),fold->name);
if (last_mesg==0)
printf(_("You haven't read any messages in this folder yet.\n"));
More information about the mw-devel
mailing list