View | Details | Raw Unified | Return to bug 196959
Collapse All | Expand All

(-)files/patch-std-string-compat-c-int-source-funcs.inc (+11 lines)
Line 0 Link Here
1
--- src/c-int-source-funcs.inc.orig
2
+++ src/c-int-source-funcs.inc
3
@@ -157,7 +157,7 @@ std::string GetMapValue(std::map<std::string,std::string> Map, int Item)
4
 		if (o) \
5
 		{ \
6
 			try { \
7
-				((MusicBrainz5::C##TYPE1 *)o)->Set##PROP1(str); \
8
+				((MusicBrainz5::C##TYPE1 *)o)->Set##PROP1(str ? str : ""); \
9
 			} \
10
 			catch (...) { \
11
 			} \

Return to bug 196959