diff m_option.h @ 22312:cca9ff25bed2

Move parsing of the -ss option to the option code. Also fixes a memory leak of the parameter string.
author uau
date Sat, 24 Feb 2007 07:11:57 +0000
parents 02a18c52a42a
children 3f0d00abc073
line wrap: on
line diff
--- a/m_option.h	Fri Feb 23 22:14:15 2007 +0000
+++ b/m_option.h	Sat Feb 24 07:11:57 2007 +0000
@@ -28,6 +28,7 @@
 extern m_option_type_t m_option_type_string;
 extern m_option_type_t m_option_type_string_list;
 extern m_option_type_t m_option_type_position;
+extern m_option_type_t m_option_type_time;
 extern m_option_type_t m_option_type_time_size;
 
 extern m_option_type_t m_option_type_print;
@@ -168,6 +169,7 @@
 #define CONF_TYPE_OBJ_PRESETS	(&m_option_type_obj_presets)
 #define CONF_TYPE_CUSTOM_URL	(&m_option_type_custom_url)
 #define CONF_TYPE_OBJ_PARAMS	(&m_option_type_obj_params)
+#define CONF_TYPE_TIME		(&m_option_type_time)
 #define CONF_TYPE_TIME_SIZE	(&m_option_type_time_size)
 
 /////////////////////////////////////////////////////////////////////////////////////////////