summaryrefslogtreecommitdiffstats
path: root/libmenu
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-12 21:38:39 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:44 +0200
commitc2e37e43465a147202040c959165687c6289e2d5 (patch)
tree946d80bb7dcce8098871a8491d6aeb8115f04511 /libmenu
parentef236e1fe22ca4331d42176de5d36e2bdfe22995 (diff)
downloadmpv-c2e37e43465a147202040c959165687c6289e2d5.tar.bz2
mpv-c2e37e43465a147202040c959165687c6289e2d5.tar.xz
manu.c: Remove unused static function menu_text_get_next_line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31727 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/menu.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libmenu/menu.c b/libmenu/menu.c
index ef3804fbe3..a9e40af177 100644
--- a/libmenu/menu.c
+++ b/libmenu/menu.c
@@ -738,24 +738,6 @@ int menu_text_num_lines(char* txt, int max_width) {
return l;
}
-static char* menu_text_get_next_line(char* txt, int max_width)
-{
- int i = 0;
- render_txt(txt);
- while (*txt) {
- int c=utf8_get_char((const char**)&txt);
- if(c == '\n') {
- txt++;
- break;
- }
- i += vo_font->width[c];
- if(i >= max_width)
- break;
- i += vo_font->charspace;
- }
- return txt;
-}
-
void menu_draw_box(mp_image_t* mpi,unsigned char grey,unsigned char alpha, int x, int y, int w, int h) {
draw_alpha_f draw_alpha = get_draw_alpha(mpi->imgfmt);