JSDOC/Lang.vala
[gnome.introspection-doc-generator] / JSDOC / Lang.vala
index ff65f5d..eeb6842 100644 (file)
@@ -84,7 +84,8 @@ namespace JSDOC {
             return this.whitespaceNames.get(str) != null;
         }
            public bool isSpaceC (char str) {
-            return this.whitespaceNames.get("" + str) != null;
+                       var s = (string)str;
+            return this.whitespaceNames.get(s) != null;
         }
         public bool isNewline (string str) {
             return this.newlineNames.get(str) != null;