Skip to content

Commit

Permalink
Include empty entries for SCI_DESCRIBEKEYWORDSETS
Browse files Browse the repository at this point in the history
  • Loading branch information
dail8859 authored Jun 10, 2023
1 parent a6b8fca commit 7288609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexlib/OptionSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class OptionSet {
void DefineWordListSets(const char * const wordListDescriptions[]) {
if (wordListDescriptions) {
for (size_t wl = 0; wordListDescriptions[wl]; wl++) {
if (!wordLists.empty())
if (wl > 0)
wordLists += "\n";
wordLists += wordListDescriptions[wl];
}
Expand Down

0 comments on commit 7288609

Please sign in to comment.