]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Improve handling of the debug log file.
[stockfish] / src / ucioption.cpp
index 07b3027da707e11f239724f31576306efd40f289..0cafd3e92d03010eb32f3f77db69758617cb40c2 100644 (file)
@@ -164,7 +164,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;