summaryrefslogtreecommitdiffstats
path: root/microbbs.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2014-12-29 11:17:49 +0900
committerFreeArtMan <dos21h@gmail.com>2014-12-29 11:17:49 +0900
commit7a794483c75fa6590958dda5ceaf5fb4438c3066 (patch)
tree9fde594088b1a844f5e4ad2568158f049cdd7981 /microbbs.c
parent0aa0acedcbf8c19ad7049335c7abbb0f71e2cdee (diff)
downloadmicrobbs-7a794483c75fa6590958dda5ceaf5fb4438c3066.tar.gz
microbbs-7a794483c75fa6590958dda5ceaf5fb4438c3066.zip
Small fixes, not change any functionality
Diffstat (limited to 'microbbs.c')
-rw-r--r--microbbs.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/microbbs.c b/microbbs.c
index c414b55..cf3a7db 100644
--- a/microbbs.c
+++ b/microbbs.c
@@ -6,6 +6,8 @@
#include "motd.h"
#include "libterm/term.h"
+#include "ini.h"
+
int main( int argc, char **argv )
{
int ret_len;
@@ -60,7 +62,12 @@ int main( int argc, char **argv )
#ifdef CONFIG_TODO
printf("T(o)do ");
#endif
- printf("(Q)uit (S)ysinfo Mesa(G)es: ");
+
+ #ifdef CONFIG_MESSAGING
+ printf("Mesa(G)es ");
+ #endif
+
+ printf("(Q)uit (S)ysinfo: ");
ret_len = getline( &str, &str_size, stdin );
if ( ret_len > 0)
{
@@ -112,12 +119,14 @@ int main( int argc, char **argv )
break;
#endif
+ #ifndef CONFIG_MESSAGING
case 'g':
case 'G':
{
printf("Messages\n");
}
break;
+ #endif
//------------------------------------------------------------------
#ifdef CONFIG_BOARD