summaryrefslogtreecommitdiff
path: root/src/string_vec.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-07 13:47:35 +0100
committerPhil Jones <philj56@gmail.com>2022-06-07 15:31:49 +0100
commit51bbf779ba2c9d5954e2c9470a8eae7c1ddd38a5 (patch)
treef2b52f0211f9052fefa64e23c6a0d81305391589 /src/string_vec.c
parent7562d7b539d8013376de2cff494231ba307f4ee1 (diff)
Switch from using (E)GL to wl_shm.
eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better.
Diffstat (limited to 'src/string_vec.c')
-rw-r--r--src/string_vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_vec.c b/src/string_vec.c
index 3c77f6f..0bcd7f2 100644
--- a/src/string_vec.c
+++ b/src/string_vec.c
@@ -23,7 +23,7 @@ static int cmpstringp(const void *restrict a, const void *restrict b)
if (str2 == NULL) {
return -1;
}
- return strcasecmp(str1, str2);
+ return strcmp(str1, str2);
}
struct string_vec string_vec_create(void)