summaryrefslogtreecommitdiffstats
path: root/scripts/manicure.rb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-04 14:21:36 +0000
committerRodeo <[email protected]>2013-03-04 14:21:36 +0000
commit2df5f7e5d66aa3c34bed93f81a43350dd4daa203 (patch)
tree7b85f271d65dfa1fce2e122eab4ad89baa1af352 /scripts/manicure.rb
parent447eb9d29aa67b75070c8ad0472d5c4ec2f4dc75 (diff)
CLI: update built-in presets.
manicure: strcmp -> strcasecmp, makes preset names case-insensitive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5301 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-xscripts/manicure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb
index 1b331272c..b452d4ed7 100755
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -998,7 +998,7 @@ class Display
def generateAPIcalls(hash) # Makes a C version of the preset ready for coding into the CLI
- commandString = "if (!strcmp(preset_name, \"" << hash["PresetName"] << "\"))\n{\n "
+ commandString = "if (!strcasecmp(preset_name, \"" << hash["PresetName"] << "\"))\n{\n "
#Filename suffix
commandString << "if( !mux )\n "