patch-src_tea_config_c 2.1 KB

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