From 25131b070d8fa490ed154c994dac638b1d393b9d Mon Sep 17 00:00:00 2001 From: Michael Hampton Date: Thu, 23 Sep 2004 00:22:18 +0000 Subject: [PATCH] * rooms.c: create_floor(): Fix the check for whether a floor name was given --- citadel/ChangeLog | 4 ++++ citadel/rooms.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index f6658fffa..f9ec7032b 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 625.29 2004/09/23 00:22:18 error + * rooms.c: create_floor(): Fix the check for whether a floor name was given + Revision 625.28 2004/09/21 02:09:30 ajc * Tweaks to above @@ -6103,3 +6106,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/rooms.c b/citadel/rooms.c index 3125a0874..f1f90b643 100644 --- a/citadel/rooms.c +++ b/citadel/rooms.c @@ -1217,7 +1217,7 @@ void create_floor(CtdlIPC *ipc) } newprompt("Name for new floor: ", newfloorname, 255); - if (!*newprompt) return; + if (!*newfloorname) return; r = CtdlIPCCreateFloor(ipc, 1, newfloorname, buf); if (r / 100 == 2) { scr_printf("Floor has been created.\n"); -- 2.39.2