[vlc-devel] commit: WinCE intf: use existing vlc functions (Geoffroy Couprie )
git version control
git at videolan.org
Tue Oct 14 10:14:06 CEST 2008
vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Sun Oct 12 17:42:31 2008 +0200| [558c62166c2d533d21fe009d4c5991161a220127] | committer: Geoffroy Couprie
WinCE intf: use existing vlc functions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=558c62166c2d533d21fe009d4c5991161a220127
---
modules/gui/wince/fileinfo.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/gui/wince/fileinfo.cpp b/modules/gui/wince/fileinfo.cpp
index aa3d887..e75cc5a 100644
--- a/modules/gui/wince/fileinfo.cpp
+++ b/modules/gui/wince/fileinfo.cpp
@@ -120,9 +120,7 @@ void FileInfo::UpdateFileInfo()
tvi.mask = TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE | TVIF_PARAM;
- // Set the text of the item. Not right, but I don't know yet how to handle this
- //tvi.pszText = _FROMMB( p_input->input.p_item->psz_name ); <- old line
- input_item_t * inp_item = input_item_GetById( p_input, 1 );
+ input_item_t * inp_item = input_GetItem(p_input);
tvi.pszText = _FROMMB( input_item_GetName( inp_item ) );
tvi.cchTextMax = _tcslen( tvi.pszText );
More information about the vlc-devel
mailing list