diff options
author | Neil <nyamatongwe@gmail.com> | 2015-11-20 11:05:28 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-11-20 11:05:28 +1100 |
commit | 124307f221172d8c0638307f8ea227a842b45b1f (patch) | |
tree | 40ef82f0d3ee0f65de8839c5649c2938d0f92a07 /qt/ScintillaEdit/WidgetGen.py | |
parent | 28c1e186b953ae0c8fe7681c7d7ae8950efb266f (diff) | |
download | scintilla-mirror-124307f221172d8c0638307f8ea227a842b45b1f.tar.gz |
Remove line end whitespace.
Diffstat (limited to 'qt/ScintillaEdit/WidgetGen.py')
-rw-r--r-- | qt/ScintillaEdit/WidgetGen.py | 6 |
1 files changed, 3 insertions, 3 deletions
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:]) |