summaryrefslogtreecommitdiffstats
path: root/src/unicoderange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unicoderange.cpp')
-rw-r--r--src/unicoderange.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unicoderange.cpp b/src/unicoderange.cpp
index e1cb1eee3..a4dcc8a0b 100644
--- a/src/unicoderange.cpp
+++ b/src/unicoderange.cpp
@@ -18,6 +18,7 @@ static unsigned int hex2int(char* s){
}
UnicodeRange::UnicodeRange(const gchar* value){
+ if (!value) return;
gchar* val = (gchar*) value;
while(val[0] != '\0'){
if (val[0]=='U' && val[1]=='+'){