mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:23:01 +01:00
rm unused arg
This commit is contained in:
parent
8eaf96e7bb
commit
64157963ec
4
main.c
4
main.c
@ -286,7 +286,7 @@ void prepare_window(WINDOW* w) {
|
|||||||
*
|
*
|
||||||
* TODO: Make it work for chat windows
|
* TODO: Make it work for chat windows
|
||||||
*/
|
*/
|
||||||
void position_cursor(WINDOW* w, char* title, ToxWindow* a)
|
void position_cursor(WINDOW* w, char* title)
|
||||||
{
|
{
|
||||||
curs_set(1);
|
curs_set(1);
|
||||||
if (strcmp(title, "[prompt]") == 0) { // main/prompt window
|
if (strcmp(title, "[prompt]") == 0) { // main/prompt window
|
||||||
@ -319,7 +319,7 @@ int main(int argc, char* argv[]) {
|
|||||||
a->blink = false;
|
a->blink = false;
|
||||||
a->onDraw(a);
|
a->onDraw(a);
|
||||||
draw_bar();
|
draw_bar();
|
||||||
position_cursor(a->window, a->title, a);
|
position_cursor(a->window, a->title);
|
||||||
|
|
||||||
// Handle input.
|
// Handle input.
|
||||||
ch = getch();
|
ch = getch();
|
||||||
|
Loading…
Reference in New Issue
Block a user