mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve children_layouter_create
This commit is contained in:
parent
1ccdaf1d1c
commit
5780843a6c
@ -93,7 +93,7 @@ children_layouter_t* children_layouter_create_old(const char* params) {
|
||||
}
|
||||
|
||||
children_layouter_t* children_layouter_create(const char* params) {
|
||||
return_value_if_fail(params != NULL, NULL);
|
||||
return_value_if_fail(params != NULL && params[0], NULL);
|
||||
if (strchr(params, '(')) {
|
||||
return children_layouter_create_new(params);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user