use CopiedString.empty()

This commit is contained in:
Garux
2024-02-02 01:04:42 +06:00
parent 1f2e1616a8
commit 649fcd4067
5 changed files with 6 additions and 6 deletions

View File

@@ -253,7 +253,7 @@ void environment_init( int argc, char* argv[] ){
{
char real[PATH_MAX];
app_filepath = getexename( real );
ASSERT_MESSAGE( !string_empty( app_filepath.c_str() ), "failed to deduce app path" );
ASSERT_MESSAGE( !app_filepath.empty(), "failed to deduce app path" );
// NOTE: we build app path with a trailing '/'
// it's a general convention in Radiant to have the slash at the end of directories
app_path = PathFilenameless( real );