Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PipeYume committed Aug 14, 2024
1 parent b5bc971 commit 7766136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_input_popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ string_input_params string_input_params::parse_string_input_params( const JsonOb
const JsonValue &jv_title = jo.get_member( "title" );
p.title = get_str_translation_or_var( jv_title, "" );
}
if( jo.has_string( "description" ) ) {
if( jo.has_member( "description" ) ) {
const JsonValue &jv_description = jo.get_member( "description" );
p.description = get_str_translation_or_var( jv_description, "" );
}
Expand Down

0 comments on commit 7766136

Please sign in to comment.