commit | cfe36cc81d27d134f7bf080afce39c3fc07ec23c | [log] [tgz] |
---|---|---|
author | Mike McCormack <mike@codeweavers.com> | Tue Jun 13 16:58:55 2006 +0900 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Jun 13 12:56:42 2006 +0200 |
tree | 38d825c05412b20873db989fc8e28504db308680 | |
parent | 25f521f1b211551932b9bc7ff17d0dbb0cbd2413 [diff] |
msi: Fix loading of long strings.
diff --git a/dlls/msi/table.c b/dlls/msi/table.c index 007958e..96623df 100644 --- a/dlls/msi/table.c +++ b/dlls/msi/table.c
@@ -717,8 +717,8 @@ * and its the high word of the length is inserted in the null string's * reference count field. */ - if( pool[i*2-2] == 0 ) - len += pool[i*2-1] * 0x10000; + if( pool[i*2-2] == 0 && pool[i*2-1] ) + len += pool[i*2+1] * 0x10000; if( (offset + len) > datasize ) {