Commit c1ab53aad5db5c62978368c00bd02869256bdd57
1 parent
3ba890c6
Exists in
v5.2
Fixing save to key file.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/pw3270/linux/config.c
| ... | ... | @@ -38,6 +38,7 @@ |
| 38 | 38 | #include "../common.h" |
| 39 | 39 | #include <stdarg.h> |
| 40 | 40 | #include <glib/gstdio.h> |
| 41 | + #include <v3270/settings.h> | |
| 41 | 42 | |
| 42 | 43 | /*--[ Globals ]--------------------------------------------------------------------------------------*/ |
| 43 | 44 | |
| ... | ... | @@ -439,10 +440,9 @@ void pw3270_session_save_terminal(GtkWidget *terminal) |
| 439 | 440 | { |
| 440 | 441 | GKeyFile * keyfile = pw3270_session_config_get(TRUE); |
| 441 | 442 | |
| 442 | - debug("%s keyfile=%p",__FUNCTION__,keyfile); | |
| 443 | 443 | if(keyfile) |
| 444 | 444 | { |
| 445 | - v3270_to_key_file(widget, keyfile, "terminal"); | |
| 445 | + v3270_to_key_file(terminal, keyfile, "terminal"); | |
| 446 | 446 | pw3270_session_config_save(); |
| 447 | 447 | } |
| 448 | 448 | ... | ... |