Skip to content

Commit 5208f34

Browse files
committed
Fix return values of updateListBoxHook
Since abff960 (saving results to improve time, 2015-11-18) the function ceased to return a proper return value. This return value is used by showCode to determine if a procedure file does not contain any parseable content and should thus immediately opened when selected.
1 parent f54ce72 commit 5208f34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

procedures/CodeBrowser.ipf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,8 @@ Function updateListBoxHook()
839839
else
840840
sortListByLineNumber(decls, lines)
841841
endif
842+
843+
return DimSize(decls, 0)
842844
End
843845

844846
// Shows the line/function for the function/macro with the given index into decl

0 commit comments

Comments
 (0)