projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SYSFILE INFO: Add ENCODING subcommand.
[pspp]
/
src
/
ui
/
gui
/
psppire-encoding-selector.c
diff --git
a/src/ui/gui/psppire-encoding-selector.c
b/src/ui/gui/psppire-encoding-selector.c
index 0352051c3a984f776e8483ea694921e2fda81aa3..42fbea44e6c4cfe78a878346397ea79a08efd25d 100644
(file)
--- a/
src/ui/gui/psppire-encoding-selector.c
+++ b/
src/ui/gui/psppire-encoding-selector.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2011, 2012
, 2014
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-207,5
+207,6
@@
psppire_encoding_selector_get_encoding (GtkWidget *selector)
}
}
g_list_free (list);
}
}
g_list_free (list);
- return encoding;
+
+ return encoding && !strcmp (encoding, "Auto") ? NULL : encoding;
}
}