Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Feb 3, 2022
1 parent 05e85a7 commit be020f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/listview.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ INT CALLBACK _app_listview_compare_callback (

if (item_text_1 && item_text_2)
{
result = _r_str_compare_logical (item_text_1, item_text_2);
result = _r_str_compare_logical (item_text_1->buffer, item_text_2->buffer);
}

if (item_text_1)
Expand Down
8 changes: 1 addition & 7 deletions src/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1490,13 +1490,7 @@ NTSTATUS _app_profile_save ()

_r_queuedlock_acquireexclusive (&lock_profile);

status = _app_db_savetofile (
&db_info,
profile_info.profile_path,
XML_VERSION_CURRENT,
XML_TYPE_PROFILE,
timestamp
);
status = _app_db_savetofile (&db_info, profile_info.profile_path, XML_VERSION_CURRENT, XML_TYPE_PROFILE, timestamp);

_r_queuedlock_releaseexclusive (&lock_profile);

Expand Down

0 comments on commit be020f6

Please sign in to comment.