Fixed Windows build
authorSam Lantinga <slouken@libsdl.org>
Fri, 24 May 2013 03:29:31 -0700
changeset 7217ae087380127d
parent 7216 3586fc0ba156
child 7218 08c403ba173e
Fixed Windows build
VisualC/tests/testautomation/testautomation_vs2010.vcxproj
VisualC/tests/testautomation/testautomation_vs2012.vcxproj
src/stdlib/SDL_string.c
     1.1 --- a/VisualC/tests/testautomation/testautomation_vs2010.vcxproj	Fri May 24 03:23:21 2013 -0700
     1.2 +++ b/VisualC/tests/testautomation/testautomation_vs2010.vcxproj	Fri May 24 03:29:31 2013 -0700
     1.3 @@ -179,20 +179,21 @@
     1.4      <ClCompile Include="..\..\..\test\testautomation.c" />
     1.5      <ClCompile Include="..\..\..\test\testautomation_audio.c" />
     1.6      <ClCompile Include="..\..\..\test\testautomation_clipboard.c" />
     1.7 +    <ClCompile Include="..\..\..\test\testautomation_events.c" />
     1.8 +    <ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
     1.9      <ClCompile Include="..\..\..\test\testautomation_main.c" />
    1.10 +    <ClCompile Include="..\..\..\test\testautomation_mouse.c" />
    1.11 +    <ClCompile Include="..\..\..\test\testautomation_pixels.c" />
    1.12      <ClCompile Include="..\..\..\test\testautomation_platform.c" />
    1.13      <ClCompile Include="..\..\..\test\testautomation_rect.c" />
    1.14      <ClCompile Include="..\..\..\test\testautomation_render.c" />
    1.15      <ClCompile Include="..\..\..\test\testautomation_rwops.c" />
    1.16 +    <ClCompile Include="..\..\..\test\testautomation_sdltest.c" />
    1.17 +    <ClCompile Include="..\..\..\test\testautomation_stdlib.c" />
    1.18      <ClCompile Include="..\..\..\test\testautomation_surface.c" />
    1.19 -    <ClCompile Include="..\..\..\test\testautomation_events.c" />
    1.20 -    <ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
    1.21 +    <ClCompile Include="..\..\..\test\testautomation_syswm.c" />
    1.22 +    <ClCompile Include="..\..\..\test\testautomation_timer.c" />
    1.23      <ClCompile Include="..\..\..\test\testautomation_video.c" />
    1.24 -    <ClCompile Include="..\..\..\test\testautomation_syswm.c" />
    1.25 -    <ClCompile Include="..\..\..\test\testautomation_sdltest.c" />
    1.26 -    <ClCompile Include="..\..\..\test\testautomation_mouse.c" />
    1.27 -    <ClCompile Include="..\..\..\test\testautomation_timer.c" />
    1.28 -    <ClCompile Include="..\..\..\test\testautomation_pixels.c" />
    1.29    </ItemGroup>
    1.30    <ItemGroup>
    1.31      <ClInclude Include="..\..\..\test\testautomation_suites.h" />
    1.32 @@ -211,4 +212,4 @@
    1.33    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    1.34    <ImportGroup Label="ExtensionTargets">
    1.35    </ImportGroup>
    1.36 -</Project>
    1.37 \ No newline at end of file
    1.38 +</Project>
     2.1 --- a/VisualC/tests/testautomation/testautomation_vs2012.vcxproj	Fri May 24 03:23:21 2013 -0700
     2.2 +++ b/VisualC/tests/testautomation/testautomation_vs2012.vcxproj	Fri May 24 03:29:31 2013 -0700
     2.3 @@ -183,20 +183,21 @@
     2.4      <ClCompile Include="..\..\..\test\testautomation.c" />
     2.5      <ClCompile Include="..\..\..\test\testautomation_audio.c" />
     2.6      <ClCompile Include="..\..\..\test\testautomation_clipboard.c" />
     2.7 +    <ClCompile Include="..\..\..\test\testautomation_events.c" />
     2.8 +    <ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
     2.9 +    <ClCompile Include="..\..\..\test\testautomation_main.c" />
    2.10 +    <ClCompile Include="..\..\..\test\testautomation_mouse.c" />
    2.11 +    <ClCompile Include="..\..\..\test\testautomation_pixels.c" />
    2.12      <ClCompile Include="..\..\..\test\testautomation_platform.c" />
    2.13 -    <ClCompile Include="..\..\..\test\testautomation_main.c" />
    2.14      <ClCompile Include="..\..\..\test\testautomation_rect.c" />
    2.15      <ClCompile Include="..\..\..\test\testautomation_render.c" />
    2.16      <ClCompile Include="..\..\..\test\testautomation_rwops.c" />
    2.17 +    <ClCompile Include="..\..\..\test\testautomation_sdltest.c" />
    2.18 +    <ClCompile Include="..\..\..\test\testautomation_stdlib.c" />
    2.19      <ClCompile Include="..\..\..\test\testautomation_surface.c" />
    2.20 -    <ClCompile Include="..\..\..\test\testautomation_events.c" />
    2.21 -    <ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
    2.22 +    <ClCompile Include="..\..\..\test\testautomation_syswm.c" />
    2.23 +    <ClCompile Include="..\..\..\test\testautomation_timer.c" />
    2.24      <ClCompile Include="..\..\..\test\testautomation_video.c" />
    2.25 -    <ClCompile Include="..\..\..\test\testautomation_syswm.c" />
    2.26 -    <ClCompile Include="..\..\..\test\testautomation_sdltest.c" />
    2.27 -    <ClCompile Include="..\..\..\test\testautomation_mouse.c" />
    2.28 -    <ClCompile Include="..\..\..\test\testautomation_timer.c" />
    2.29 -    <ClCompile Include="..\..\..\test\testautomation_pixels.c" />
    2.30    </ItemGroup>
    2.31    <ItemGroup>
    2.32      <ClInclude Include="..\..\..\test\testautomation_suites.h" />
     3.1 --- a/src/stdlib/SDL_string.c	Fri May 24 03:23:21 2013 -0700
     3.2 +++ b/src/stdlib/SDL_string.c	Fri May 24 03:29:31 2013 -0700
     3.3 @@ -1331,7 +1331,7 @@
     3.4  SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg)
     3.5  {
     3.6      int i, width;
     3.7 -    size_t len, spot;
     3.8 +    size_t len;
     3.9      size_t left = maxlen;
    3.10      char *textstart = text;
    3.11