diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-04-14 10:47:37 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-04-14 10:47:37 +0200 |
commit | db582a4e5c51f8f83c0d952373b691400ff78178 (patch) | |
tree | da4f53e8254b074cec96ec9e197498c3a7cb85fc /src/common/cfgfiles.c | |
parent | 059e4ec9c8d59f6b283bda3f007ae9d2fd29bc83 (diff) |
Remove sound_dir, it's pointless
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index c7a89665..4b8a4c8d 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -558,7 +558,6 @@ const struct prefs vars[] = {"perl_warnings", P_OFFINT (hex_perl_warnings), TYPE_BOOL}, {"sound_command", P_OFFSET (hex_sound_command), TYPE_STR}, - {"sound_dir", P_OFFSET (hex_sound_dir), TYPE_STR}, {"stamp_log", P_OFFINT (hex_stamp_log), TYPE_BOOL}, {"stamp_log_format", P_OFFSET (hex_stamp_log_format), TYPE_STR}, @@ -779,7 +778,6 @@ load_config (void) strcpy (prefs.hex_irc_quit_reason, prefs.hex_irc_part_reason); strcpy (prefs.hex_irc_real_name, realname); strcpy (prefs.hex_irc_user_name, username); - snprintf (prefs.hex_sound_dir, sizeof (prefs.hex_sound_dir), "%s" G_DIR_SEPARATOR_S "sounds", get_xdir ()); strcpy (prefs.hex_stamp_log_format, "%b %d %H:%M:%S "); strcpy (prefs.hex_stamp_text_format, "[%H:%M:%S] "); #ifdef WIN32 |