Skip to content

Commit

Permalink
final final GetChars fix on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 committed Oct 7, 2023
1 parent 4c516f4 commit 201951f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/platform/posix/unix/gtk_dialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ class ZUIListView : public ZUIWidget
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);
Expand Down

0 comments on commit 201951f

Please sign in to comment.