1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 19:35:49 +00:00

Fix return type of getGtkEntryText, it must be const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 16:50:33 +00:00
parent 37235a01d9
commit 74be616f16

View File

@ -1454,7 +1454,7 @@ GList *appendESDDevices(GList *l) {
// Gets text string from a gtk entry, interpreting
// MSGTR_PREFERENCES_DriverDefault as null string.
char *getGtkEntryText(GtkWidget *from) {
const char *getGtkEntryText(GtkWidget *from) {
const char *tmp = gtk_entry_get_text(GTK_ENTRY(from));
if (strcmp(tmp, MSGTR_PREFERENCES_DriverDefault) == 0) {
tmp = NULL;