aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-10 00:38:29 +0000
committernyamatongwe <devnull@localhost>2000-04-10 00:38:29 +0000
commit78a323542a138be07f172742fcebce0eaf203a5d (patch)
tree4bf8fa9fa9a841aae4cd0e25e27681ffab243c18 /src
parentfe7edf1b1ae94a069134103af84585a29a6c5467 (diff)
downloadscintilla-mirror-78a323542a138be07f172742fcebce0eaf203a5d.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;
}