From 71658e0457c1b27b6c92c041123700857d90c17d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 30 Jun 2012 22:47:20 -0500 Subject: Fix Joliet name lookup failure in iso kioslave (cherry picked from commit e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a) --- kioslave/iso/kiso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kioslave') diff --git a/kioslave/iso/kiso.cpp b/kioslave/iso/kiso.cpp index 4acb328aa..0ebac3253 100644 --- a/kioslave/iso/kiso.cpp +++ b/kioslave/iso/kiso.cpp @@ -249,7 +249,7 @@ static int mycallb(struct iso_directory_record *idr,void *udata) { if (!special) { if (iso->joliet) { for (i=0;i<(isonum_711(idr->name_len)-1);i+=2) { - TQChar ch( be2me_16( idr->name[i] ) ); + TQChar ch( be2me_16(*((ushort*)&(idr->name[i]))) ); if (ch==';') break; path+=ch; } -- cgit v1.2.1