소스 검색

Stop overwriting results

clanker 2 주 전
부모
커밋
50a4edc512
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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))) {