From 39738797a1049f1b65396dc49f0ca208e43999c5 Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Sun, 11 Dec 2022 18:02:06 +0200 Subject: [PATCH] version bump --- src/common/header/common.h | 2 +- src/common/shared.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/header/common.h b/src/common/header/common.h index 02abc68..8cd01d3 100644 --- a/src/common/header/common.h +++ b/src/common/header/common.h @@ -32,7 +32,7 @@ #include "shared_safe.h" #include "crc.h" -#define VKVERSION "1.0" +#define VKVERSION "1.0.3" #ifndef YQ2OSTYPE #error YQ2OSTYPE should be defined by the build system diff --git a/src/common/shared.c b/src/common/shared.c index 88fe97f..92e6470 100644 --- a/src/common/shared.c +++ b/src/common/shared.c @@ -1448,7 +1448,7 @@ File_Filtered_Line(const char *name, const char *filter) const char *name_part; const char *str_end; - str_end = index(current_filter, '*'); + str_end = strchr(current_filter, '*'); if (!str_end) { if (!strstr(name, current_filter)) @@ -1496,7 +1496,7 @@ File_Filtered(const char *name, const char *filter) char line_filter[MAX_QPATH]; const char *str_end; - str_end = index(current_filter, ' '); + str_end = strchr(current_filter, ' '); // its end of filter if (!str_end) {