From 6652c4eadad09cf6ea23b690c92d70b55a49d57f Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Nov 2015 11:05:28 +1100 Subject: Remove line end whitespace. --- qt/ScintillaEdit/WidgetGen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qt/ScintillaEdit/WidgetGen.py') diff --git a/qt/ScintillaEdit/WidgetGen.py b/qt/ScintillaEdit/WidgetGen.py index 92ebfd687..2c8ef2033 100644 --- a/qt/ScintillaEdit/WidgetGen.py +++ b/qt/ScintillaEdit/WidgetGen.py @@ -107,7 +107,7 @@ def printHFile(f, options): if feat in ["fun", "get", "set"]: if checkTypes(name, v): constDeclarator = " const" if feat == "get" else "" - returnType = cppAlias(v["ReturnType"]) + returnType = cppAlias(v["ReturnType"]) if returnType == "int": returnType = "sptr_t" stringResult = v["Param2Type"] == "stringresult" @@ -230,7 +230,7 @@ def main(argv): options = {"qtStyle": qtStyleInterface} f = readInterface(cleanGenerated) try: - GenerateFile("ScintillaEdit.cpp.template", "ScintillaEdit.cpp", + GenerateFile("ScintillaEdit.cpp.template", "ScintillaEdit.cpp", "/* ", True, printCPPFile(f, options)) GenerateFile("ScintillaEdit.h.template", "ScintillaEdit.h", "/* ", True, printHFile(f, options)) @@ -256,6 +256,6 @@ def main(argv): os.remove(file) except OSError: pass - + if __name__ == "__main__": main(sys.argv[1:]) -- cgit v1.2.3