Searches are no longer case sensitive

This commit is contained in:
Scoopta 2019-08-19 17:48:18 -07:00
parent 0631d72e3b
commit 372cbfbbd4
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ C_DEPS += \
proto/%.o: ../proto/%.c proto/%.o: ../proto/%.c
@echo 'Building file: $<' @echo 'Building file: $<'
@echo 'Invoking: GCC C Compiler' @echo 'Invoking: GCC C Compiler'
gcc -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<' @echo 'Finished building: $<'
@echo ' ' @echo ' '

View File

@ -29,7 +29,7 @@ C_DEPS += \
src/%.o: ../src/%.c src/%.o: ../src/%.c
@echo 'Building file: $<' @echo 'Building file: $<'
@echo 'Invoking: GCC C Compiler' @echo 'Invoking: GCC C Compiler'
gcc -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" gcc -D_GNU_SOURCE -I../inc -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -fsanitize=address `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<' @echo 'Finished building: $<'
@echo ' ' @echo ' '

View File

@ -20,7 +20,7 @@ C_DEPS += \
proto/%.o: ../proto/%.c proto/%.o: ../proto/%.c
@echo 'Building file: $<' @echo 'Building file: $<'
@echo 'Invoking: GCC C Compiler' @echo 'Invoking: GCC C Compiler'
gcc -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<' @echo 'Finished building: $<'
@echo ' ' @echo ' '

View File

@ -29,7 +29,7 @@ C_DEPS += \
src/%.o: ../src/%.c src/%.o: ../src/%.c
@echo 'Building file: $<' @echo 'Building file: $<'
@echo 'Invoking: GCC C Compiler' @echo 'Invoking: GCC C Compiler'
gcc -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" gcc -D_GNU_SOURCE -I../inc -O3 -Wall -Wextra -c -fmessage-length=0 `pkg-config --cflags gtk+-3.0` -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<' @echo 'Finished building: $<'
@echo ' ' @echo ' '

View File

@ -360,7 +360,7 @@ static gboolean do_filter(GtkListBoxRow* row, gpointer data) {
if(filter == NULL || strcmp(filter, "") == 0) { if(filter == NULL || strcmp(filter, "") == 0) {
return TRUE; return TRUE;
} }
if(strstr(text, filter) != NULL) { if(strcasestr(text, filter) != NULL) {
return TRUE; return TRUE;
} }
return FALSE; return FALSE;