Changeset 2ee9e8d


Ignore:
Timestamp:
Mar 9, 2010, 5:47:26 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
4cca591
Parents:
1286893
git-author:
David Benjamin <davidben@mit.edu> (03/09/10 16:17:15)
git-committer:
David Benjamin <davidben@mit.edu> (03/09/10 17:47:26)
Message:
Drop doupdate call in owl_editwin_redisplay

It isn't being used, and we should call doupdate consistently.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r963b471 r2ee9e8d  
    26832683    owl_editwin_clear(e);
    26842684    owl_editwin_insert_string(e, ptr);
    2685     owl_editwin_redisplay(e, 0);
     2685    owl_editwin_redisplay(e);
    26862686    owl_global_set_needrefresh(&g);
    26872687  } else {
     
    27002700    owl_editwin_clear(e);
    27012701    owl_editwin_insert_string(e, ptr);
    2702     owl_editwin_redisplay(e, 0);
     2702    owl_editwin_redisplay(e);
    27032703    owl_global_set_needrefresh(&g);
    27042704  } else {
     
    27112711  buff = skiptokens(buff, 1);
    27122712  owl_editwin_insert_string(e, buff);
    2713   owl_editwin_redisplay(e, 0);
     2713  owl_editwin_redisplay(e);
    27142714  owl_global_set_needrefresh(&g); 
    27152715  return NULL;
  • editwin.c

    r30bb10a r2ee9e8d  
    251251  e->lock=e->bufflen;
    252252  oe_set_index(e, e->lock);
    253   owl_editwin_redisplay(e, 0);
     253  owl_editwin_redisplay(e);
    254254}
    255255
     
    518518
    519519/* regenerate the text on the curses window */
    520 /* if update == 1 then do a doupdate(), otherwise do not */
    521 void owl_editwin_redisplay(owl_editwin *e, int update)
     520void owl_editwin_redisplay(owl_editwin *e)
    522521{
    523522  int x = -1, y = -1, t;
     
    568567
    569568  update_panels();
    570   if (update == 1)
    571     doupdate();
    572569}
    573570
     
    12381235    return;
    12391236  }
    1240   owl_editwin_redisplay(e, 0);
     1237  owl_editwin_redisplay(e);
    12411238}
    12421239
  • functions.c

    rbb0d439 r2ee9e8d  
    19191919
    19201920  owl_editwin_insert_string(tw, line);
    1921   owl_editwin_redisplay(tw, 0);
     1921  owl_editwin_redisplay(tw);
    19221922
    19231923  owl_global_push_context(&g, OWL_CTX_EDITLINE, tw, "editline");
     
    19351935  owl_global_set_needrefresh(&g);
    19361936
    1937   owl_editwin_redisplay(tw, 0);
     1937  owl_editwin_redisplay(tw);
    19381938
    19391939  owl_global_push_context(&g, OWL_CTX_EDITRESPONSE, tw, "editline");
     
    19521952  owl_global_set_needrefresh(&g);
    19531953
    1954   owl_editwin_redisplay(tw, 0);
     1954  owl_editwin_redisplay(tw);
    19551955
    19561956  owl_global_push_context(&g, OWL_CTX_EDITRESPONSE, tw, "editresponse");
  • global.c

    r5294cbf r2ee9e8d  
    531531  owl_mainwin_redisplay(&(g->mw));
    532532  sepbar(NULL);
    533   owl_editwin_redisplay(g->tw, 0);
     533  owl_editwin_redisplay(g->tw);
    534534  owl_function_full_redisplay();
    535535
Note: See TracChangeset for help on using the changeset viewer.