Changeset 095003a8 in mainline for uspace/app/tetris/scores.c
- Timestamp:
- 2009-04-09T22:32:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f4b1535
- Parents:
- 7afb4a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/scores.c
r7afb4a5 r095003a8 132 132 moveto(10 , 10); 133 133 puts("Insert your name: "); 134 str ncpy(scores[NUMSPOTS - 1].hs_name, "Player", MAXLOGNAME);134 str_ncpy(scores[NUMSPOTS - 1].hs_name, "Player", MAXLOGNAME); 135 135 i = 6; off = 6; 136 136 … … 196 196 int i; 197 197 for(i = 0; i < NUMSPOTS; i++) { 198 str ncpy(scores[i].hs_name, "HelenOS Team", MAXLOGNAME);198 str_ncpy(scores[i].hs_name, "HelenOS Team", MAXLOGNAME); 199 199 scores[i].hs_score = (NUMSPOTS - i) * 200; 200 200 scores[i].hs_level = (i + 1 > MAXLEVEL?MAXLEVEL:i + 1);
Note:
See TracChangeset
for help on using the changeset viewer.