Commit bcb7f4ee authored by Alexandre Julliard's avatar Alexandre Julliard

Bug fix for native USER.

parent 431cf324
......@@ -245,7 +245,6 @@ ATOM WINAPI AddAtom16( LPCSTR str )
int len, ae_len;
WORD iatom;
if (CURRENT_DS == ATOM_UserDS) return GlobalAddAtomA( str );
if (ATOM_IsIntAtomA( str, &iatom )) return iatom;
TRACE("%s\n",debugstr_a(buffer));
......@@ -255,6 +254,8 @@ ATOM WINAPI AddAtom16( LPCSTR str )
len = strlen( buffer );
if (!(table = ATOM_GetTable( TRUE ))) return 0;
if (CURRENT_DS == ATOM_UserDS) return GlobalAddAtomA( str );
hash = ATOM_Hash( table->size, buffer, len );
entry = table->entries[hash];
while (entry)
......
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