Просмотр исходного кода

Start editing at the end of the test text

It's static, but kind of nice.
Luna Stadler лет назад: 4
Родитель
Сommit
c28ec96d6b
1 измененных файлов с 1 добавлено и 1 удалено
  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;