summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src')
-rw-r--r--plugins/Toaster/src/add_to_start_menu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Toaster/src/add_to_start_menu.h b/plugins/Toaster/src/add_to_start_menu.h
index 0fd3bf6171..f4bccab295 100644
--- a/plugins/Toaster/src/add_to_start_menu.h
+++ b/plugins/Toaster/src/add_to_start_menu.h
@@ -2,11 +2,9 @@ wchar_t* GetShortcutPath();
HRESULT InstallShortcut(_In_z_ wchar_t *shortcutPath);
__forceinline bool ShortcutExists()
-{
- return !(GetFileAttributes(ptrW(GetShortcutPath())) < 0xFFFFFFF);
+{ return (GetFileAttributes(ptrW(GetShortcutPath())) < 0xFFFFFFF);
}
__forceinline HRESULT TryCreateShortcut()
-{
- return (ShortcutExists() ? S_OK : InstallShortcut(ptrW(GetShortcutPath())));
+{ return (ShortcutExists() ? S_OK : InstallShortcut(ptrW(GetShortcutPath())));
} \ No newline at end of file