summaryrefslogtreecommitdiffstats
path: root/kioslave
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-30 22:47:20 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-07-03 02:57:11 +0200
commit71658e0457c1b27b6c92c041123700857d90c17d (patch)
tree5952926fcc123beff184a297a99e67d3c9079e28 /kioslave
parenteaee388f8e5ed0648a2dcd10654d77db3ec39720 (diff)
downloadtdelibs-71658e0457c1b27b6c92c041123700857d90c17d.tar.gz
tdelibs-71658e0457c1b27b6c92c041123700857d90c17d.zip
Fix Joliet name lookup failure in iso kioslave
(cherry picked from commit e202ca79c3b3f989d7b0c4be4bb96b38e7924a9a)
Diffstat (limited to '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 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;
}