Changeset 2170

Show
Ignore:
Timestamp:
05/15/2008 01:12:35 AM (4 months ago)
Author:
moo
Message:

fixed #1664: fixed include basedir within include_shell, thanks to lunatic

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/configfile.c

    r2036 r2170  
    885885        buffer *filename; 
    886886 
    887         if (buffer_is_empty(context->basedir) && 
    888                         (fn[0] == '/' || fn[0] == '\\') && 
     887        if (buffer_is_empty(context->basedir) || 
     888                        (fn[0] == '/' || fn[0] == '\\') || 
    889889                        (fn[0] == '.' && (fn[1] == '/' || fn[1] == '\\'))) { 
    890890                filename = buffer_init_string(fn);