Showing the changes to src/core/util_string.cpp (1 of 1 file). Show all
Unified · Split
| @@ -668,6 +668,6 @@ t_CKBOOL is_absolute_path( const std::string & path ) · 667 unmodified lines | |||
| 668 | return false; | 668 | return false; |
| 669 | #else | 669 | #else |
| 670 | // does the path begin with '/'? | 670 | // does the path begin with '/'? |
| 671 | return( workingDir.length() != 0 && workingDir[0] == '/' ); | 671 | return( path.length() != 0 && path[0] == '/' ); |
| 672 | #endif | 672 | #endif |
| 673 | } | 673 | } |