diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-30 22:47:20 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-30 22:47:20 -0500 |
commit | e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a (patch) | |
tree | aa74e9219da32615d75ff16cd78eb05931179887 | |
parent | b4bba7b553995a6b13214dbbabe18ff311007eea (diff) | |
download | tdelibs-e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a.tar.gz tdelibs-e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a.zip |
Fix Joliet name lookup failure in iso kioslave
-rw-r--r-- | kioslave/iso/kiso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kioslave/iso/kiso.cpp b/kioslave/iso/kiso.cpp index 6403f6289..c9e2d4390 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; } |