Commit 825c942d authored by Albert Astals Cid's avatar Albert Astals Cid

Copy the embeddef file description string correctly

parent 5e60da78
......@@ -383,8 +383,7 @@ EmbFile *Catalog::embeddedFile(int i)
Object obj, obj2;
obj = embeddedFileNameTree.getValue(i);
GooString *fileName = new GooString();
char *descString = embeddedFileNameTree.getName(i)->getCString();
GooString *desc = new GooString(descString);
GooString *desc = new GooString(embeddedFileNameTree.getName(i));
GooString *createDate = new GooString();
GooString *modDate = new GooString();
GooString *checksum = new GooString();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment