Fix transposition of 4 byte values when reading in table data from

storage.
This commit is contained in:
Mike McCormack 2004-12-06 16:17:45 +00:00 committed by Alexandre Julliard
parent 4bda758157
commit 6b395bab07
1 changed files with 2 additions and 2 deletions

View File

@ -466,8 +466,8 @@ UINT read_table_from_storage( MSIDATABASE *db, LPCWSTR name, MSITABLE **ptable)
t->data[i][ofs] = rawdata[ofs*t->row_count + i ];
break;
case 4:
t->data[i][ofs] = rawdata[ofs*t->row_count + i ];
t->data[i][ofs+1] = rawdata[ofs*t->row_count + i + 1];
t->data[i][ofs] = rawdata[ofs*t->row_count + i*2 ];
t->data[i][ofs+1] = rawdata[ofs*t->row_count + i*2 + 1];
break;
default:
ERR("oops - unknown column width %d\n", n);