Bug fix for native USER.

This commit is contained in:
Alexandre Julliard 2000-02-19 20:51:29 +00:00
parent 431cf32450
commit bcb7f4ee37
1 changed files with 2 additions and 1 deletions

View File

@ -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)