$Log$
+ Revision 601.125 2003/01/23 05:50:59 ajc
+ * citadel.c: hitting enter without entering a room name in the <.G>oto and
+ <.S>kip commands now does nothing instead of exhibiting undefined behavior
+
Revision 601.124 2003/01/23 04:42:33 ajc
* Began reviewing, updating, and HTML-izing the documentation
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
dotgoto(ipc, "_MAIL_", 1, 0);
break;
case 20:
- updatels(ipc);
- dotgoto(ipc, argbuf, 0, 0);
+ if (strlen(argbuf) > 0) {
+ updatels(ipc);
+ dotgoto(ipc, argbuf, 0, 0);
+ }
break;
case 52:
- if (rc_alt_semantics)
- updatelsa(ipc);
- dotgoto(ipc, argbuf, 0, 0);
+ if (strlen(argbuf) > 0) {
+ if (rc_alt_semantics) {
+ updatelsa(ipc);
+ }
+ dotgoto(ipc, argbuf, 0, 0);
+ }
break;
case 95: /* what exactly is the numbering scheme supposed to be anyway? */
dotungoto(ipc, argbuf);