]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Merge remote-tracking branch 'upstream/master' into HEAD
[stockfish] / src / ucioption.cpp
index a63db9e4cb772c04e33bae3856f7ee06e8196b46..029137b7de083f44e53ed9f9277b8f546f95ba31 100644 (file)
@@ -174,7 +174,7 @@ Option& Option::operator=(const string& v) {
 
   assert(!type.empty());
 
-  if (   (type != "button" && v.empty())
+  if (   (type != "button" && type != "string" && v.empty())
       || (type == "check" && v != "true" && v != "false")
       || (type == "spin" && (stof(v) < min || stof(v) > max)))
       return *this;