mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-29 06:36:05 +08:00
fix define_set to check define name end too
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ def define_set(fn, name, value):
|
|||||||
print("In " + fn + " set " + name + " to " + value)
|
print("In " + fn + " set " + name + " to " + value)
|
||||||
|
|
||||||
new_content = ""
|
new_content = ""
|
||||||
s = r'^ *# *define +' + str(name).rstrip()
|
s = r'^ *# *define +' + str(name).rstrip() + ' +'
|
||||||
|
|
||||||
f = open(fn, "r")
|
f = open(fn, "r")
|
||||||
for i in f.read().splitlines():
|
for i in f.read().splitlines():
|
||||||
|
|||||||
Reference in New Issue
Block a user