diff options
| author | nyamatongwe <unknown> | 2012-07-02 11:50:24 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2012-07-02 11:50:24 +1000 | 
| commit | a41c68304808ba9f6e0af9a0cfb7c20968b587f9 (patch) | |
| tree | 17d2cd01b1c5a9952afee4238d912590aa34ca9d /src/Editor.cxx | |
| parent | c608f5f369418ec7942f1e5cd1616116896ea3f7 (diff) | |
| download | scintilla-mirror-a41c68304808ba9f6e0af9a0cfb7c20968b587f9.tar.gz | |
Reduce scope of variable.
Diffstat (limited to 'src/Editor.cxx')
| -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); | 
