comparison src/video/cocoa/SDL_cocoawindow.m @ 4679:5ee96ba0c01e

Fixed various type and print format issues
author Sam Lantinga <slouken@libsdl.org>
date Sat, 31 Jul 2010 20:38:37 -0700
parents f8431f66613d
children 229529693289
comparison
equal deleted inserted replaced
4678:f8431f66613d 4679:5ee96ba0c01e
313 touch.native_pressureres = touch.pressure_max - touch.pressure_min; 313 touch.native_pressureres = touch.pressure_max - touch.pressure_min;
314 314
315 if (SDL_AddTouch(&touch, "") < 0) { 315 if (SDL_AddTouch(&touch, "") < 0) {
316 continue; 316 continue;
317 } 317 }
318 printf("Success, added touch: %lin",touchId); 318 printf("Success, added touch: %li\n",touchId);
319 } 319 }
320 float x = [touch normalizedPosition].x; 320 float x = [touch normalizedPosition].x;
321 float y = [touch normalizedPosition].y; 321 float y = [touch normalizedPosition].y;
322 long fingerId = (long)[touch identity]; 322 long fingerId = (long)[touch identity];
323 switch (type) { 323 switch (type) {