Fixed OTR decryption check

This commit is contained in:
James Booth
2015-08-27 00:37:48 +01:00
parent ef52840d91
commit 1484e94b35
8 changed files with 30 additions and 18 deletions

View File

@@ -193,7 +193,7 @@ str_replace(const char *string, const char *substr,
}
gboolean
str_contains_str(char *searchstr, char *substr)
str_contains_str(const char * const searchstr, const char * const substr)
{
return g_strrstr(searchstr, substr) != NULL;
}