From ae411a9eb5a45e76c7d2de6f73674953567ef8be Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 11 Apr 2016 19:42:16 +1000 Subject: [PATCH] Fix typo in readme & fix new line before settings --- README.md | 4 ++-- settings.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a5e76c..3b54a19 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ If you want to install Magicka BBS, follow these steps. 6. Copy the config-default directory to a config directory. - `cp -r config-default config` + `cp -r config_default config` 7. Edit the config files and update essential information, like system paths and BBS name etc 8. Copy the ansi-default directory to the one specified in your system path eg. - `cp -r ansi-default ansi` + `cp -r ansi_default ansis` 9. Run Magicka BBS on a port over 1024 (Below require root, and we're not ready for that). diff --git a/settings.c b/settings.c index e569836..1d88fa5 100644 --- a/settings.c +++ b/settings.c @@ -10,7 +10,7 @@ void settings_menu(int sock, struct user_record *user) { char c; while (!dosettings) { - s_putstring(sock, "\e[1;32mYour Settings\r\n"); + s_putstring(sock, "\r\n\e[1;32mYour Settings\r\n"); s_putstring(sock, "\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n"); s_putstring(sock, "\e[0;36mP. \e[1;37mPassword (\e[1;33mNot Shown\e[1;37m)\r\n"); sprintf(buffer, "\e[0;36mL. \e[1;37mLocation (\e[1;33m%s\e[1;37m)\r\n", user->location);