Commit 1dc931a4 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

build also on environments which have "const char *strstr(const char *, const...

build also on environments which have "const char *strstr(const char *, const char *)" instead of "char *strstr(const char *, const char *)", e.g. ALT-Linux
parent 16ea5ddb
......@@ -122,7 +122,7 @@ Tracks: 12, total time: 49:07, year: 2002, genre: Metal<br>
}
#else
const char* searchStrData = searchStr.data();
char* charSetPtr = std::strstr(searchStrData, "charset=");
const char* charSetPtr = std::strstr(searchStrData, "charset=");
if (charSetPtr) {
charSetPtr += 8;
isUtf8 = std::strncmp(charSetPtr, "utf-8", 5) == 0 ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment