[mw-devel] MW3 r1063 - trunk/src
welshbyte at sucs.org
welshbyte at sucs.org
Thu Jan 15 14:56:53 GMT 2009
Author: welshbyte
Date: 2009-01-15 14:56:53 +0000 (Thu, 15 Jan 2009)
New Revision: 1063
Modified:
trunk/src/newmain.c
Log:
Fix the !last command by inserting braces where there always should have been braces.
Modified: trunk/src/newmain.c
===================================================================
--- trunk/src/newmain.c 2009-01-09 10:19:59 UTC (rev 1062)
+++ trunk/src/newmain.c 2009-01-15 14:56:53 UTC (rev 1063)
@@ -99,9 +99,10 @@
void c_last(CommandList *cm, int argc, char **argv, char *args)
{
- if (currentfolder < 0)
+ if (currentfolder < 0) {
printf(_("No current folder.\n"));
return;
+ }
last_mesg=fold->last;
printf(_("Moved to end of folder. (message %d)\n"),last_mesg);
read_msg(currentfolder,last_mesg,user);
More information about the mw-devel
mailing list