mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
723 B

  1. An ugly patch for an ugly lvalue cast - for gcc-3.4.
  2. - Rene Rebe <rene@rocklinux.org>
  3. --- ./src/ui/ncurses/uitagbrowser.cc.vanilla 2004-07-05 14:13:59.000000000 +0200
  4. +++ ./src/ui/ncurses/uitagbrowser.cc 2004-07-05 14:08:51.000000000 +0200
  5. @@ -78,7 +78,8 @@
  6. cm.setwindow(textwindow(w.x1, w.y1, w.x1+20, 0, uiconf.getcolor(cp_menufr)));
  7. for(motortagbrowser::viewscope scope = motortagbrowser::File;
  8. - scope != motortagbrowser::viewscope_size; (int) scope += 1) {
  9. + scope != motortagbrowser::viewscope_size;
  10. + scope = (motortagbrowser::viewscope) ((int)scope + 1) ) {
  11. cm.additem(0, scope, (string) " " + getscopename(scope));
  12. if(scope == tagbrowser.getscope())
  13. cm.setpos(cm.getcount()-1);