aboutsummaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
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;
}