[Spice-devel] [PATCH spice-xpi 5/6] fix uppercase for SetUsbFilter()

Peter Hatina phatina at redhat.com
Mon Oct 21 08:40:23 CEST 2013


Case typo fix.

---
 generator/generator.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/generator/generator.cpp b/generator/generator.cpp
index 40ba5f5..ac58991 100644
--- a/generator/generator.cpp
+++ b/generator/generator.cpp
@@ -92,7 +92,7 @@ void Generator::generateHeader()
               << "function bodyUnload()\n{\n    log(\"Body Unload\");\n}\n\n"
               << "function connect()\n{\n"
               << "    setConnectVars();\n"
-              << "    setUsbFilter();\n"
+              << "    SetUsbFilter();\n"
               << "    embed.connect();\n"
               << "    log(\"Connect: host '\" + embed.hostIP + \"', port '\" + "
               << "embed.port\n        + \"', secure port '\" + embed.SecurePort + "
@@ -119,7 +119,7 @@ void Generator::generateHeader()
               << "        document.getElementById(\"SetLanguageStringslang\").value : \"\";\n"
               << "    embed.SetLanguageStrings(section, lang);\n"
               << "    log(\"Language Strings set to '\" + section + \"' '\" + lang + \"'\");\n}\n\n"
-              << "function setUsbFilter()\n{\n"
+              << "function SetUsbFilter()\n{\n"
               << "    UsbFilterToggled = document.getElementById(\"SetUsbFilterfilterToggled\");\n"
               << "    if (!UsbFilterToggled)\n        return;\n"
               << "    filter = UsbFilterToggled.checked ?\n"
-- 
Peter Hatina
ENG Server Experience, System Management
Red Hat Czech, Brno



More information about the Spice-devel mailing list