Skip to content
Snippets Groups Projects
Commit 94fb7feb authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

svg: fix default outside of valid range

caused options to always be adjusted to value of 1 when saving prefs.
parent fb842279
No related branches found
No related tags found
No related merge requests found
......@@ -66,10 +66,10 @@ vlc_module_begin ()
add_shortcut( "svg" )
/* svg options */
add_integer_with_range( "svg-width", -1, 1, 65535,
add_integer_with_range( "svg-width", -1, -1, 65535,
TEXT_WIDTH, LONG_TEXT_WIDTH )
change_safe()
add_integer_with_range( "svg-height", -1, 1, 65535,
add_integer_with_range( "svg-height", -1, -1, 65535,
TEXT_HEIGHT, LONG_TEXT_HEIGHT )
change_safe()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment