s/atomar/atomic

This commit is contained in:
Michael Stapelberg 2009-03-08 21:01:06 +01:00
parent cefc1dabac
commit 4f8e704017
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
if (client == NULL) if (client == NULL)
return 1; return 1;
/* Save the old pointer to make the update atomar */ /* Save the old pointer to make the update atomic */
char *old_name = client->name; char *old_name = client->name;
asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop)); asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop));
if (old_name != NULL) if (old_name != NULL)