Skip to content

Commit

Permalink
Linux compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Sep 25, 2023
1 parent d0f83f1 commit 729e6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloud_accounts_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class CloudFileList : public wxDataViewListCtrl
EscapeMarkup(f.description)
);
#else
wxString text = str::to_wx(f.title);
wxString text(f.title);
#endif

wxVector<wxVariant> data;
Expand Down Expand Up @@ -847,7 +847,7 @@ bool ShouldSyncToCloudAutomatically(CatalogPtr catalog)
wxFileName f(catalog->GetFileName());
f.Normalize();

return f.GetFullPath().starts_with(root.GetFullPath());
return f.GetFullPath().StartsWith(root.GetFullPath());
}


Expand Down

0 comments on commit 729e6ee

Please sign in to comment.