Procházet zdrojové kódy

Stop overwriting results

clanker před 2 týdny
rodič
revize
50a4edc512
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      src/lib/Json.vala

+ 3 - 1
src/lib/Json.vala

@@ -286,7 +286,9 @@ namespace InvercargillJson {
                 else if(node.get_value_type().is_a(typeof(int64))) {
                     result = node.get_int().to_string();
                 }
-                result = node.get_string();
+                else {
+                    result = node.get_string();
+                }
                 return true;
             }
             if(typeof(T).is_a(typeof(DateTime))) {