final final GetChars fix on linux

This commit is contained in:
Ricardo Luís Vaz Silva 2023-10-07 20:05:01 -03:00 committed by Christoph Oelckers
parent f0be58e862
commit 04c167f181
1 changed files with 2 additions and 2 deletions

View File

@ -292,9 +292,9 @@ public:
store = gtk_list_store_new (3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT);
for (int i = 0; i < numwads; ++i)
{
const char *filepart = strrchr (wads[i].Path, '/');
const char *filepart = strrchr (wads[i].Path.GetChars(), '/');
if (filepart == NULL)
filepart = wads[i].Path;
filepart = wads[i].Path.GetChars();
else
filepart++;
gtk_list_store_append (store, &iter);