projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
root corrections to miracle
[melted]
/
src
/
miracle
/
miracle_unit_commands.c
diff --git
a/src/miracle/miracle_unit_commands.c
b/src/miracle/miracle_unit_commands.c
index
af242a4
..
f190429
100644
(file)
--- a/
src/miracle/miracle_unit_commands.c
+++ b/
src/miracle/miracle_unit_commands.c
@@
-47,7
+47,7
@@
int miracle_load( command_argument cmd_arg )
filename ++;
}
- if ( filename[0] == '/' )
+ if ( strlen( cmd_arg->root_dir ) && filename[0] == '/' )
filename++;
snprintf( fullname, 1023, "%s%s", cmd_arg->root_dir, filename );