Skip to content

Commit a196120

Browse files
author
Phan Xuân Quang
committed
require admin right
1 parent 04fe26a commit a196120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adobe Camera Profiles Unlocker 2.0/MainWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private void Form_Load(object sender, EventArgs e)
111111
Application.Exit();
112112
}
113113

114-
if (IsUserAdministrator())
114+
if (!IsUserAdministrator())
115115
{
116116
MessageBox.Show("The application must be ran with the administrator right.\nPlease try again.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
117117
Application.Exit();

0 commit comments

Comments
 (0)