94e895a
--- alexandria-book-collection-manager-0.7.6/lib/alexandria/preferences.rb.negative	2020-11-03 00:35:57.573343839 +0900
94e895a
+++ alexandria-book-collection-manager-0.7.6/lib/alexandria/preferences.rb	2020-11-03 00:37:21.996312604 +0900
94e895a
@@ -242,7 +242,7 @@ module Alexandria
94e895a
         true
94e895a
       when "false"    # bool
94e895a
         false
94e895a
-      when /^[0-9]+$/ # int
94e895a
+      when /^-?[0-9]+$/ # int
94e895a
         value.to_i
94e895a
       when /^\[(.*)\]$/ # list (assume of type String)
94e895a
         Regexp.last_match[1].split(",")