mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-11 03:13:34 +02:00
Minor improvement.
This commit is contained in:
parent
f07bbb6c85
commit
e3b8d0955b
1 changed files with 1 additions and 1 deletions
|
@ -30,8 +30,8 @@ SETLOCAL DisableDelayedExpansion
|
||||||
SET "_line=%%H"
|
SET "_line=%%H"
|
||||||
SETLOCAL EnableDelayedExpansion
|
SETLOCAL EnableDelayedExpansion
|
||||||
SET "_pref=!_line: =!"
|
SET "_pref=!_line: =!"
|
||||||
FOR /F "delims=," %%X IN ("!_pref!") DO ( SET "_pref=%%X" )
|
|
||||||
IF /I "user_pref"=="!_pref:~0,9!" (
|
IF /I "user_pref"=="!_pref:~0,9!" (
|
||||||
|
FOR /F "delims=," %%X IN ("!_pref!") DO ( SET "_pref=%%X" )
|
||||||
SET _pref=!_pref:"=""!
|
SET _pref=!_pref:"=""!
|
||||||
FIND /I "!_pref!" user.js >nul
|
FIND /I "!_pref!" user.js >nul
|
||||||
IF ERRORLEVEL 1 (
|
IF ERRORLEVEL 1 (
|
||||||
|
|
Loading…
Add table
Reference in a new issue