It seems that there may be a hard-coded, integer setting in an instance 
where MAX_LEVEL should be used.

In fold.c, line 1946

        level = foldinfo->fi_level;
        if (level > 50)
            level = 50;

Shouldn't this read:

        level = foldinfo->fi_level;
        if (level > MAX_LEVEL)
            level = MAX_LEVEL;

Thanks,
Noel


-- 

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com     Chips, firmware and embedded systems
  www.vimoutliner.org   Work fast. Think well.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui