Skip to content

Commit

Permalink
improved tooltip text (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
funap committed Nov 22, 2020
1 parent e6192a0 commit b2b0a3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Explorer/src/FavesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,11 @@ INT_PTR CALLBACK FavesDialog::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lP
}

// make tooltip text.
tipText += StringUtil::format(L"\nThis session has %d files.", count);
tipText += StringUtil::format(L"\nThis session has %d files", count);
if (nonExistentFileCount > 0) {
tipText += StringUtil::format(L"(%d are non-existent)", nonExistentFileCount);
tipText += StringUtil::format(L" (%d are non-existent)", nonExistentFileCount);
}
tipText += L".";
}
}
if (!tipText.empty()) {
Expand Down

0 comments on commit b2b0a3b

Please sign in to comment.