diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c1f30e124..e88458551 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6944,10 +6944,10 @@ void Editor::EnsureLineVisible(int lineDoc, bool enforcePolicy) { } int Editor::GetTag(char *tagValue, int tagNumber) { - char name[3] = "\\?"; const char *text = 0; int length = 0; if ((tagNumber >= 1) && (tagNumber <= 9)) { + char name[3] = "\\?"; name[1] = static_cast<char>(tagNumber + '0'); length = 2; text = pdoc->SubstituteByPosition(name, &length); |