diff options
| author | nyamatongwe <unknown> | 2005-07-22 13:22:54 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-07-22 13:22:54 +0000 | 
| commit | 2311a1b2cbc6cbe1d6918df05ba7cacde5e16ab4 (patch) | |
| tree | fde10d0bb006b2ce3317e7d5ada81f5b5db4d7fb /src | |
| parent | 43145f3a9376e1d729ac6b8c15992c0b0ef9843d (diff) | |
| download | scintilla-mirror-2311a1b2cbc6cbe1d6918df05ba7cacde5e16ab4.tar.gz | |
Ensure down arrow works for initial call.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CallTip.cxx | 11 | 
1 files changed, 5 insertions, 6 deletions
| diff --git a/src/CallTip.cxx b/src/CallTip.cxx index fbbe8f142..80fd55d7b 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -104,12 +104,11 @@ void CallTip::DrawChunk(Surface *surface, int &x, const char *s,  						surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]),                   						colourBG.allocated, colourBG.allocated);  					} -				} else { -					if (s[startSeg] == '\001') { -						rectUp = rcClient; -					} else { -						rectDown = rcClient; -					} +				} +				if (s[startSeg] == '\001') { +					rectUp = rcClient; +				} else if (s[startSeg] == '\002') { +					rectDown = rcClient;  				}  			} else {  				xEnd = x + surface->WidthText(font, s+startSeg, endSeg - startSeg); | 
