summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/x264Panel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/x264Panel.cs')
-rw-r--r--win/C#/Functions/x264Panel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/Functions/x264Panel.cs b/win/C#/Functions/x264Panel.cs
index 0101f0fcf..8a93a2121 100644
--- a/win/C#/Functions/x264Panel.cs
+++ b/win/C#/Functions/x264Panel.cs
@@ -232,7 +232,7 @@ namespace Handbrake.Functions
for (loopcounter = 0; loopcounter < currentOptsArrayCount; loopcounter++)
{
thisOpt = currentOptsArray[loopcounter];
- if (currentOptsArray[currentOptsArrayCount - 1] == "")
+ if (currentOptsArray[currentOptsArrayCount - 1] == string.Empty)
break;
String[] splitOptRange = thisOpt.Split('=');
@@ -257,11 +257,11 @@ namespace Handbrake.Functions
}
/* Construct New String for opts here */
- if (thisOpt == "")
+ if (thisOpt == string.Empty)
changedOptString = changedOptString + thisOpt;
else
{
- if (changedOptString == "")
+ if (changedOptString == string.Empty)
changedOptString = thisOpt;
else
changedOptString = changedOptString + ":" + thisOpt;