about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-24 00:21:00 +0100
committerJames Booth <boothj5@gmail.com>2014-10-24 00:21:00 +0100
commit5fc35bd6a64e17db7d6ee4cfcc1077469ead62f4 (patch)
treecb034742f3353b119ea0d3d5ff1a57782777bdd3 /src/ui
parent0b61c759697af1593af13daa461dcec35617686b (diff)
downloadprofani-tty-5fc35bd6a64e17db7d6ee4cfcc1077469ead62f4.tar.gz
Changed room help colour, added whitespace after invalid field setting
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 06ef4762..f50ad982 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -2556,7 +2556,8 @@ static void
 _ui_show_form(ProfWin *window, const char * const room, DataForm *form)
 {
     if (form->title != NULL) {
-        win_save_print(window, '-', NULL, 0, 0, "", form->title);
+        win_save_print(window, '-', NULL, NO_EOL, 0, "", "Form title: ");
+        win_save_print(window, '-', NULL, NO_DATE, 0, "", form->title);
     } else {
         win_save_vprint(window, '-', NULL, 0, 0, "", "Configuration for room %s.", room);
     }
@@ -2607,9 +2608,9 @@ _ui_handle_room_configuration(const char * const room, DataForm *form)
     ui_show_form(window, room, form);
 
     win_save_print(window, '-', NULL, 0, 0, "", "");
-    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "Use '/form submit' to save changes.");
-    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "Use '/form cancel' to cancel changes.");
-    win_save_print(window, '-', NULL, 0, COLOUR_ROOMINFO, "", "See '/form help' for more information.");
+    win_save_print(window, '-', NULL, 0, 0, "", "Use '/form submit' to save changes.");
+    win_save_print(window, '-', NULL, 0, 0, "", "Use '/form cancel' to cancel changes.");
+    win_save_print(window, '-', NULL, 0, 0, "", "See '/form help' for more information.");
     win_save_print(window, '-', NULL, 0, 0, "", "");
 }