Kaydet (Commit) d5fb7376 authored tarafından Enrico Tröger's avatar Enrico Tröger

fixed small bug in sci_cb_show_calltip

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@341 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst dec031b3
......@@ -371,7 +371,7 @@ gboolean sci_cb_show_calltip(ScintillaObject *sci, gint pos)
if (pos == -1)
{ // position of '(' is unknown, so go backwards to find it
pos = SSM(sci, SCI_GETCURRENTPOS, 0, 0);
while (SSM(sci, SCI_GETCHARAT, pos, 0) != '(') pos--;
while (pos >= 0 && SSM(sci, SCI_GETCHARAT, pos, 0) != '(') pos--;
}
style = SSM(sci, SCI_GETSTYLEAT, pos, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment