Skip to content

Commit

Permalink
Don't cut the filename if he is relative
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and m-kuhn committed Jun 11, 2016
1 parent 7040ad4 commit 270938c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgslogger.cpp
Expand Up @@ -95,7 +95,7 @@ void QgsLogger::debug( const QString& msg, int debuglevel, const char* file, con
}

#ifndef _MSC_VER
m.prepend( file + sPrefixLength );
m.prepend( file + ( file[0] == '/' ? sPrefixLength : 0 ) );
#else
m.prepend( file );
#endif
Expand Down

0 comments on commit 270938c

Please sign in to comment.