Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 095003a8 in mainline for uspace/app/tetris/tetris.c


Ignore:
Timestamp:
2009-04-09T22:32:23Z (13 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial
Children:
f4b1535
Parents:
7afb4a5
Message:

strdup() → str_dup()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/tetris.c

    r7afb4a5 r095003a8  
    312312                }
    313313                if (keys[i] == ' ')
    314                         strncpy(key_write[i], "<space>", sizeof key_write[i]);
     314                        str_ncpy(key_write[i], "<space>", sizeof key_write[i]);
    315315                else {
    316316                        key_write[i][0] = keys[i];
Note: See TracChangeset for help on using the changeset viewer.