mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 19:49:11 +08:00
improve tools utils.c
This commit is contained in:
parent
809ec10716
commit
25ed3e029a
@ -1,4 +1,7 @@
|
||||
# 最新动态
|
||||
2023/09/18
|
||||
* 修复打包工具打包有特殊字符导名字的资源导致断言的问题(感谢智明提供补丁)
|
||||
|
||||
2023/09/15
|
||||
* 修复 path\_basename\_ex 的对于混合斜杆不支持的问题(感谢智明提供补丁)
|
||||
* 增加scons清除的时候顺便把lib和bin目录也删除功能(感谢智明提供补丁)
|
||||
|
@ -306,7 +306,7 @@ const char* to_lower(char* str) {
|
||||
const char* filter_name(char* name) {
|
||||
char* p = name;
|
||||
while (*p) {
|
||||
if (!(isdigit(*p) || isalpha(*p) || *p == '_')) {
|
||||
if (!(tk_isdigit(*p) || tk_isalpha(*p) || *p == '_')) {
|
||||
*p = '_';
|
||||
}
|
||||
p++;
|
||||
|
Loading…
Reference in New Issue
Block a user