lyg1949 hace 1 año
padre
commit
587101558a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cpputil/hstring.cpp

+ 1 - 1
cpputil/hstring.cpp

@@ -131,7 +131,7 @@ hv::KeyValue splitKV(const std::string& str, char kv_kv, char k_v) {
             state = s_key;
             key = p+1;
         }
-        else if (*p == k_v) {
+        else if (*p == k_v && state != s_value) {
             state = s_value;
             value = p+1;
         }