diff options
Diffstat (limited to 'textproc/cbedic/files/patch-registry.cpp')
-rw-r--r-- | textproc/cbedic/files/patch-registry.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/cbedic/files/patch-registry.cpp b/textproc/cbedic/files/patch-registry.cpp new file mode 100644 index 000000000000..ea643ccdf73c --- /dev/null +++ b/textproc/cbedic/files/patch-registry.cpp @@ -0,0 +1,29 @@ +--- src/registry.cpp.orig Sat Aug 9 19:21:50 2003 ++++ src/registry.cpp Sat Aug 9 19:22:52 2003 +@@ -79,7 +79,7 @@ + //=== Get String ========================================================= + // Return the value of key, if missed return default value + //======================================================================== +-char *Registry::getString(const char *property, const char *defaultValue = "") { ++char *Registry::getString(const char *property, const char *defaultValue ) { + bool found = false; + char *ret = NULL; + FILE *f; +@@ -113,7 +113,7 @@ + //=== Get Int ============================================================ + // Return the value of key, if missed return default value + //======================================================================== +-int Registry::getInt(const char *property, const int defaultValue = 0) { ++int Registry::getInt(const char *property, const int defaultValue) { + int ret = defaultValue; + char *p; + p = getString(property); +@@ -141,7 +141,7 @@ + //=== Get Bool =========================================================== + // Return the value of key, if missed return default value + //======================================================================== +-bool Registry::getBool(const char *property, const bool defaultValue = false) { ++bool Registry::getBool(const char *property, const bool defaultValue) { + bool ret = defaultValue; + char *p; + p = getString(property); |