mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-02 17:46:45 +02:00
Use enum to identify window types instead of bool variables
This commit is contained in:
@ -734,7 +734,7 @@ static ToxWindow *new_conference_chat(uint32_t conferencenum)
|
||||
exit_toxic_err("failed in new_conference_chat", FATALERR_MEMORY);
|
||||
}
|
||||
|
||||
ret->is_conference = true;
|
||||
ret->type = WINDOW_TYPE_CONFERENCE;
|
||||
|
||||
ret->onKey = &conference_onKey;
|
||||
ret->onDraw = &conference_onDraw;
|
||||
|
Reference in New Issue
Block a user