const char for setXDisplay

This commit is contained in:
Simon Hofmann
2019-09-23 17:02:37 +02:00
parent 5e92db4044
commit 7bde855484
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ char *getXDisplay(void)
return displayName;
}
void setXDisplay(char *name)
void setXDisplay(const char *name)
{
displayName = strdup(name);
hasDisplayNameChanged = 1;
+1 -1
View File
@@ -20,7 +20,7 @@ extern "C"
#endif
char *getXDisplay(void);
void setXDisplay(char *name);
void setXDisplay(const char *name);
#ifdef __cplusplus
}