diff options
| author | Franklin Wei <franklin@fwei.tk> | 2014-06-22 20:49:59 -0400 |
|---|---|---|
| committer | Franklin Wei <franklin@fwei.tk> | 2014-06-22 20:49:59 -0400 |
| commit | 6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf (patch) | |
| tree | ad7c1f184ff872d1e875fd2fd2d2c64d3c2c400e /util.c | |
| parent | 592294999517ef547f5c60dd1e324601c98a4758 (diff) | |
| download | wargames-server-6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf.zip wargames-server-6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf.tar.gz wargames-server-6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf.tar.bz2 wargames-server-6992c1f5cde1b74f8f6d50a54a5ac8b7fd09fbaf.tar.xz | |
Added Global Themonuclear War GAME! WHEEgit status
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ #include <util.h> #include <curses.h> +void allLower(char* str) +{ + for(int i=0;str[i];++i) + { + str[i]=tolower(str[i]); + } +} void print_string(const char* str) /* print string, slowly */ { int i=0; |