summaryrefslogtreecommitdiff
path: root/textscreen/txt_desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_desktop.c')
-rw-r--r--textscreen/txt_desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/textscreen/txt_desktop.c b/textscreen/txt_desktop.c
index b17f1514..ee6c1671 100644
--- a/textscreen/txt_desktop.c
+++ b/textscreen/txt_desktop.c
@@ -110,7 +110,7 @@ void TXT_SetDesktopTitle(char *title)
{
free(desktop_title);
desktop_title = strdup(title);
- SDL_WM_SetCaption(title, NULL);
+ TXT_SetWindowTitle(title);
}
void TXT_DrawDesktop(void)