File filezilla-pointer_string_cmp.patch of Package filezilla

--- src/interface/wrapengine.cpp
+++ src/interface/wrapengine.cpp
@@ -665,7 +665,7 @@
 
 int CWrapEngine::GetWidthFromCache(const char* name)
 {
-	if (!name || name == "")
+	if (!name || *name == '\0')
 		return 0;
 
 	// We have to synchronize access to layout.xml so that multiple processed don't write
@@ -710,7 +710,7 @@
 
 void CWrapEngine::SetWidthToCache(const char* name, int width)
 {
-	if (!name || name == "")
+	if (!name || *name == '\0')
 		return;
 
 	// We have to synchronize access to layout.xml so that multiple processed don't write
openSUSE Build Service is sponsored by