diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-31 04:10:12 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-31 04:10:12 -0400 |
| commit | ed04dd7fb0c859870e708da809b002508f959b1c (patch) | |
| tree | 795176851a8010f6284c723e56c6471b78531513 /src/screen.c | |
| parent | 5a1d4762bc8fdd39a014bd5f469089f944bc5944 (diff) | |
| download | fujinet-chat-ed04dd7fb0c859870e708da809b002508f959b1c.tar.gz | |
Replace strcmp() and friends, tolower(), with custom (small) routines. now at 5129 bytes free.
Diffstat (limited to 'src/screen.c')
| -rw-r--r-- | src/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 258a4a7..646e7ec 100644 --- a/src/screen.c +++ b/src/screen.c @@ -5,6 +5,7 @@ #include "screen.h" #include "edbox.h" #include "indic8.h" +#include "streq.h" #define SDLST ((u16 *)0x0230) @@ -198,7 +199,7 @@ char scr_getbyname(const char *name) { if(!name) return 0; for(i = 2; i < MAX_SCREENS; i++) { - if(strcasecmp(name, scr_names[i]) == 0) + if(streq(name, scr_names[i])) return i; } |
