aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-10 00:38:29 +0000
committernyamatongwe <unknown>2000-04-10 00:38:29 +0000
commite138c0e643049ff9ac25bbd69eeb4f709c5547e5 (patch)
tree4bf8fa9fa9a841aae4cd0e25e27681ffab243c18 /src
parentabcbe216649e5c78e3fd8050e475b13305af9dcd (diff)
downloadscintilla-mirror-e138c0e643049ff9ac25bbd69eeb4f709c5547e5.tar.gz
Removed redundant subexpression in PropSet::GetInt.
Diffstat (limited to 'src')
-rw-r--r--src/PropSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index 6d90aed34..d3dbabaf3 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -122,7 +122,7 @@ SString PropSet::Get(const char *key) {
int PropSet::GetInt(const char *key, int defaultValue) {
SString val = Get(key);
if (val.length())
- return Get(key).value();
+ return val.value();
else
return defaultValue;
}