mirror of
https://github.com/MaJerle/lwshell.git
synced 2025-01-25 13:02:54 +08:00
Fix the wrong parameter in the init
This commit is contained in:
parent
5a0f676daa
commit
704f996c0a
@ -233,7 +233,7 @@ prv_parse_input(lwshell_t* lwobj) {
|
||||
*/
|
||||
lwshellr_t
|
||||
lwshell_init_ex(lwshell_t* lwobj) {
|
||||
lwobj = LWSHELL_GET_LWOBJ(NULL);
|
||||
lwobj = LWSHELL_GET_LWOBJ(lwobj);
|
||||
LWSHELL_MEMSET(lwobj, 0x00, sizeof(*lwobj));
|
||||
return lwshellOK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user