Pārlūkot izejas kodu

Start editing at the end of the test text

It's static, but kind of nice.
Luna Stadler 4 gadi atpakaļ
vecāks
revīzija
c28ec96d6b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      c/sdl/hello_sdl.c

+ 1 - 1
c/sdl/hello_sdl.c

60
60
61
	SDL_StartTextInput();
61
	SDL_StartTextInput();
62
62
63
	int pos = 0;
63
	int pos = 25;
64
	int max_chars = MIN(surface->w / advance, sizeof(msg));
64
	int max_chars = MIN(surface->w / advance, sizeof(msg));
65
65
66
	SDL_bool quit = SDL_FALSE;
66
	SDL_bool quit = SDL_FALSE;