diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-25 17:43:00 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-25 17:43:00 +1000 |
commit | f41794f988b72fd4d7ac905f939ff868ba94e991 (patch) | |
tree | fc12354ce053aef134030bb3ebceaf477c0666b4 /src/ScintillaBase.cxx | |
parent | 28af18d2d1226689923cadd7030d2f085253e6a3 (diff) | |
download | scintilla-mirror-f41794f988b72fd4d7ac905f939ff868ba94e991.tar.gz |
Minor changes to avoid warnings from Coverity.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r-- | src/ScintillaBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 05768799d..814eac726 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -262,7 +262,7 @@ void ScintillaBase::AutoCompleteStart(int lenEntered, const char *list) { ac.lb->SetAverageCharWidth(aveCharWidth); ac.lb->SetDoubleClickAction(AutoCompleteDoubleClick, this); - ac.SetList(list); + ac.SetList(list ? list : ""); // Fiddle the position of the list so it is right next to the target and wide enough for all its strings PRectangle rcList = ac.lb->GetDesiredRect(); |