Mercurial > geeqie.yaz
comparison src/rcfile.c @ 1267:dfa378900ec9
Remove harmful documentation.helpdir and documentation.htmldir options. These paths can still be modified through --with-readmedir and --htmldir configure options. Reported by Christopher Beland.
author | zas_ |
---|---|
date | Thu, 29 Jan 2009 18:52:52 +0000 |
parents | b2d98b7c26c1 |
children | e0e12512cde2 |
comparison
equal
deleted
inserted
replaced
1266:1267d17986f3 | 1267:dfa378900ec9 |
---|---|
548 WRITE_BOOL(metadata.confirm_write); | 548 WRITE_BOOL(metadata.confirm_write); |
549 WRITE_INT(metadata.confirm_timeout); | 549 WRITE_INT(metadata.confirm_timeout); |
550 WRITE_BOOL(metadata.confirm_after_timeout); | 550 WRITE_BOOL(metadata.confirm_after_timeout); |
551 WRITE_BOOL(metadata.confirm_on_image_change); | 551 WRITE_BOOL(metadata.confirm_on_image_change); |
552 WRITE_BOOL(metadata.confirm_on_dir_change); | 552 WRITE_BOOL(metadata.confirm_on_dir_change); |
553 | |
554 WRITE_SUBTITLE("Documentation Options"); | |
555 WRITE_CHAR(documentation.helpdir); | |
556 WRITE_CHAR(documentation.htmldir); | |
557 | 553 |
558 WRITE_SEPARATOR(); | 554 WRITE_SEPARATOR(); |
559 WRITE_SEPARATOR(); | 555 WRITE_SEPARATOR(); |
560 | 556 |
561 secure_fprintf(ssi, "######################################################################\n"); | 557 secure_fprintf(ssi, "######################################################################\n"); |
918 READ_BOOL(metadata.confirm_after_timeout); | 914 READ_BOOL(metadata.confirm_after_timeout); |
919 READ_INT(metadata.confirm_timeout); | 915 READ_INT(metadata.confirm_timeout); |
920 READ_BOOL(metadata.confirm_on_image_change); | 916 READ_BOOL(metadata.confirm_on_image_change); |
921 READ_BOOL(metadata.confirm_on_dir_change); | 917 READ_BOOL(metadata.confirm_on_dir_change); |
922 | 918 |
923 /* Documentation */ | |
924 READ_CHAR(documentation.helpdir); | |
925 READ_CHAR(documentation.htmldir); | |
926 | |
927 } | 919 } |
928 | 920 |
929 fclose(f); | 921 fclose(f); |
930 return TRUE; | 922 return TRUE; |
931 } | 923 } |