Fix screenshots in content_dir

This commit is contained in:
Jean-André Santoni 2016-11-28 00:59:58 +01:00
parent f31404e2c6
commit dc15a880f7

View File

@ -305,8 +305,8 @@ static bool take_screenshot_choice(const char *name_base)
settings_t *settings = config_get_ptr();
/* No way to infer screenshot directory. */
if ( string_is_empty(settings->directory.screenshot)
&& (!string_is_empty(name_base)))
if ( string_is_empty(settings->directory.screenshot)
&& string_is_empty(name_base))
return false;
if (video_driver_supports_viewport_read())