From e328c4ebfa2564ca6ae16ea97370a3498c75dfc3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 21 Dec 2016 01:47:32 +0100 Subject: [PATCH] (archive_file.c) Cleanup --- libretro-common/file/archive_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/file/archive_file.c b/libretro-common/file/archive_file.c index 247de63062..b6a952537b 100644 --- a/libretro-common/file/archive_file.c +++ b/libretro-common/file/archive_file.c @@ -577,7 +577,7 @@ bool file_archive_extract_file( goto end; } - if (*userdata.first_extracted_file_path) + if (!string_is_empty(userdata.first_extracted_file_path)) strlcpy(out_path, userdata.first_extracted_file_path, len); end: