Skip to content

Commit 33ac553

Browse files
fix polyfill constant value
1 parent f78f7cb commit 33ac553

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/pollyfill-7.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
if (!\defined('WIN32_INFO_SERVICE')) {
1616
/* Win32 Recovery Constants */
1717
\define('WIN32_SC_ACTION_NONE', 0x00000000, false); /* 0x00000000 No Action */
18-
\define('WIN32_SC_ACTION_REBOOT', 0x00000001, false); /* 0x00000001 Reboot the computer */
19-
\define('WIN32_SC_ACTION_RESTART', 0x00000002, false); /* 0x00000002 Restart the service */
18+
\define('WIN32_SC_ACTION_RESTART', 0x00000001, false); /* 0x00000001 Restart the service */
19+
\define('WIN32_SC_ACTION_REBOOT', 0x00000002, false); /* 0x00000002 Reboot the computer */
2020
\define('WIN32_SC_ACTION_RUN_COMMAND', 0x00000003, false); /* 0x00000003 Run the command */
2121

2222
/* Win32 Service information */

lib/pollyfill-8.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
if (!\defined('WIN32_INFO_SERVICE')) {
1818
/* Win32 Recovery Constants */
1919
\define('WIN32_SC_ACTION_NONE', 0x00000000); /* 0x00000000 No Action */
20-
\define('WIN32_SC_ACTION_REBOOT', 0x00000001); /* 0x00000001 Reboot the computer */
21-
\define('WIN32_SC_ACTION_RESTART', 0x00000002); /* 0x00000002 Restart the service */
20+
\define('WIN32_SC_ACTION_RESTART', 0x00000001); /* 0x00000001 Restart the service */
21+
\define('WIN32_SC_ACTION_REBOOT', 0x00000002); /* 0x00000002 Reboot the computer */
2222
\define('WIN32_SC_ACTION_RUN_COMMAND', 0x00000003); /* 0x00000003 Run the command */
2323

2424
/* Win32 Service information */

0 commit comments

Comments
 (0)