summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJfreegman <Jfreegman@gmail.com>2013-08-02 05:08:04 -0400
committerJfreegman <Jfreegman@gmail.com>2013-08-02 05:08:04 -0400
commit1205b902e4e53187e742961e6fed5266c680affe (patch)
tree322ffec7ee8129eab10e50a0d760e7d1e709854a
parentfbf92e4f5ee8eeadae4c18e4af6196896df6975b (diff)
rm unused arg
-rw-r--r--testing/toxic/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index 6ceab010..c596b708 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -286,7 +286,7 @@ void prepare_window(WINDOW* w) {
286 * 286 *
287 * TODO: Make it work for chat windows 287 * TODO: Make it work for chat windows
288 */ 288 */
289void position_cursor(WINDOW* w, char* title, ToxWindow* a) 289void position_cursor(WINDOW* w, char* title)
290{ 290{
291 curs_set(1); 291 curs_set(1);
292 if (strcmp(title, "[prompt]") == 0) { // main/prompt window 292 if (strcmp(title, "[prompt]") == 0) { // main/prompt window
@@ -319,7 +319,7 @@ int main(int argc, char* argv[]) {
319 a->blink = false; 319 a->blink = false;
320 a->onDraw(a); 320 a->onDraw(a);
321 draw_bar(); 321 draw_bar();
322 position_cursor(a->window, a->title, a); 322 position_cursor(a->window, a->title);
323 323
324 // Handle input. 324 // Handle input.
325 ch = getch(); 325 ch = getch();