diff --git a/inc/hgl/filesystem/FileSystem.h b/inc/hgl/filesystem/FileSystem.h index 6f90cda..c4afe63 100644 --- a/inc/hgl/filesystem/FileSystem.h +++ b/inc/hgl/filesystem/FileSystem.h @@ -43,10 +43,13 @@ namespace hgl tmp=trim(str->c_str(),len,isslash); - if(first) + if(!first) { *p=spear_char; ++p; + } + else + { first=false; }