summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-30 22:47:20 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-30 22:47:20 -0500
commite202ca79c3b3f989d7b0c4be4bb96b38e7924a9a (patch)
treeaa74e9219da32615d75ff16cd78eb05931179887
parentb4bba7b553995a6b13214dbbabe18ff311007eea (diff)
downloadtdelibs-e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a.tar.gz
tdelibs-e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a.zip
Fix Joliet name lookup failure in iso kioslave
-rw-r--r--kioslave/iso/kiso.cpp2
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;
}