File dasher-gcc6.patch of Package dasher

Index: dasher-4.11/Src/DasherCore/SettingsStore.cpp
===================================================================
--- dasher-4.11.orig/Src/DasherCore/SettingsStore.cpp
+++ dasher-4.11/Src/DasherCore/SettingsStore.cpp
@@ -295,7 +295,7 @@ std::string CSettingsStore::GetStringOpt
 
   // This means the key passed in a string was not found in the new table
   DASHER_ASSERT(0);
-  return false;
+  return NULL;
 }
 
 void CSettingsStore::SetBoolOption(const std::string &Key, bool Value) {
Index: dasher-4.11/Src/Gtk2/DasherAppSettings.cpp
===================================================================
--- dasher-4.11.orig/Src/Gtk2/DasherAppSettings.cpp
+++ dasher-4.11/Src/Gtk2/DasherAppSettings.cpp
@@ -389,7 +389,7 @@ const gchar *dasher_app_settings_get_str
     if(pPrivate->bWidgetSet) 
       return gtk_dasher_control_get_parameter_string(GTK_DASHER_CONTROL(pDasherWidget), iParameter);
     else
-      return false;
+      return NULL;
   }
   else
     return app_stringparamtable[ iParameter - FIRST_APP_SP ].value;
openSUSE Build Service is sponsored by