projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508eba0
)
Palete/Gir.vala
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Sep 2014 15:55:58 +0000
(23:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Sep 2014 15:55:58 +0000
(23:55 +0800)
Palete/Gir.vala
patch
|
blob
|
history
diff --git
a/Palete/Gir.vala
b/Palete/Gir.vala
index
35ffd27
..
a4747cc
100644
(file)
--- a/
Palete/Gir.vala
+++ b/
Palete/Gir.vala
@@
-495,7
+495,7
@@
namespace Palete {
public static string guessDefaultValueForType(string type) {
//print("guessDefaultValueForType: %s\n", type);
- if (type.contains(".")) {
+ if (type.
length < 1 || type.
contains(".")) {
return "null";
}
switch(type) {