branch: externals/idlwave
commit 0a7557694564993dc92f6461b40d808fd9fc3e52
Author: JD Smith <jdtsm...@gmail.com>
Commit: JD Smith <jdtsm...@gmail.com>

    Fix reporting code for single procedure shadow check
---
 idlwave.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idlwave.el b/idlwave.el
index 5a19fa27df..c99c2c84f7 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -8745,7 +8745,7 @@ can be used to detect possible name clashes during this 
process."
                      km-prop keymap
                      'help-echo "Mouse2: Find source"))      
         (nroutines (length (or special-routines routines)))
-        (step (/ nroutines 100))
+        (step (max 1 (/ nroutines 100)))
         (n 0)
         (cnt 0)
         (idlwave-sort-prefer-buffer-info nil)

Reply via email to