123456789101112131415161718192021222324252627282930313233343536373839404142 |
- $OpenBSD: patch-src_tea_config_c,v 1.5 2017/05/04 19:22:03 espie Exp $
- --- src/tea_config.c.orig Tue Jul 8 10:29:45 2008
- +++ src/tea_config.c Fri Nov 21 17:03:32 2008
- @@ -591,7 +591,6 @@ void tea_done (void)
- unlink (confile.tmp_file);
- g_free (confile.last_version);
- calendar_done ();
- - confile_free ();
- spell_checker_done ();
- g_free (last_dir);
-
- @@ -992,7 +991,7 @@ void confile_reload (void)
- confile.cm_pack = ht_get_char_value ("cm_pack", "zip -j -q -9 %s.zip %s");
- confile.editor_font = ht_get_char_value ("editor_font", "Monospace 12");
-
- - confile.ext_pic_editor = ht_get_char_value ("ext_pic_editor", "gimp-remote-2.0 -n %s&");
- + confile.ext_pic_editor = ht_get_char_value ("ext_pic_editor", "gimp-remote -n %s&");
- confile.ext_pic_viewer = ht_get_char_value ("ext_pic_viewer", "display %s&");
- confile.date_time = ht_get_char_value ("date_time", "%d/%m/%Y %T");
- confile.date_time_ver = ht_get_char_value ("date_time_ver", "%Y-%m-%d-%T");
- @@ -1012,7 +1011,7 @@ void confile_reload (void)
- confile.now_playing = ht_get_char_value ("now_playing", "Now playing %s");
-
- confile.show_cursor_pos = ht_get_int_value ("show_cursor_pos", 0);
- - confile.enc_use_fallback = ht_get_int_value ("enc_use_fallback", 1);
- + confile.enc_use_fallback = ht_get_int_value ("enc_use_fallback", 0);
-
- confile.saveopen_h = ht_get_int_value ("saveopen_h", 75);
- confile.saveopen_w = ht_get_int_value ("saveopen_w", 75);
- @@ -1115,9 +1114,9 @@ void confile_reload (void)
- confile.autoclose_tags = ht_get_int_value ("autoclose_tags", 0);
-
- confile.rtf_enc = ht_get_char_value ("rtf_enc", "CP1251");
- - confile.def_filesave_charset = ht_get_char_value ("def_filesave_charset", "UTF-8");
- + confile.def_filesave_charset = ht_get_char_value ("def_filesave_charset", "autodetect");
-
- - confile.default_charset = ht_get_char_value ("default_charset", "UTF-8");
- + confile.default_charset = ht_get_char_value ("default_charset", "autodetect");
-
- confile.main_wnd_show_full_path = ht_get_int_value ("main_wnd_show_full_path", 1);
- confile.do_backup = ht_get_int_value ("do_backup", 0);
|