fix displaying songs if window's width is smaller than screen's width

master
Andrzej Rybczak 17 years ago
parent b885c4f3a2
commit f1389103c2
  1. 2
      src/display.cpp

@ -218,7 +218,7 @@ void Display::Songs(const MPD::Song &s, void *data, Menu<MPD::Song> *menu)
basic_buffer<my_char_t> buf;
buf << U(" ");
String2Buffer(TO_WSTRING(line.substr(it-line.begin()+1)), buf);
*menu << XY(COLS-buf.Str().length(), menu->Y()) << buf;
*menu << XY(menu->GetWidth()-buf.Str().length(), menu->Y()) << buf;
break;
}
else

Loading…
Cancel
Save