]> git.pld-linux.org Git - packages/digikam.git/blob - digikam-libexif06.patch
- updated to 0.7.3
[packages/digikam.git] / digikam-libexif06.patch
1 --- digikam/utilities/kexif/kexifentry.cpp.old  2003-09-19 21:11:09.000000000 +0200
2 +++ digikam/utilities/kexif/kexifentry.cpp      2004-09-18 12:37:39.000000000 +0200
3 @@ -65,7 +65,11 @@
4      mName  = QString(exif_tag_get_name(mExifEntry->tag));
5      mTitle = QString(exif_tag_get_title(mExifEntry->tag));
6      mDescription = QString(exif_tag_get_description(mExifEntry->tag));
7 -    mValue = QString(exif_entry_get_value(mExifEntry));
8 +    char val[1024];
9 +    exif_entry_get_value(mExifEntry, val, 1023);
10 +    // just in case we don't get a null-terminated string
11 +    val[1023] = '\0'; 
12 +    mValue = QString(val);
13  }
14  
15  QString KExifEntry::getName()
This page took 0.032092 seconds and 3 git commands to generate.