diff --git a/.travis.yml b/.travis.yml index 2fe12a66..d239fe18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ before_install: - sudo apt-get update install: - sudo apt-get install rust-nightly + - cd .. - time wget -q http://www.libsdl.org/release/SDL2-2.0.3.tar.gz - time wget -q http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.tar.gz - time tar xf SDL2-*.tar.gz diff --git a/src/sdl2_ttf/lib.rs b/src/sdl2_ttf/lib.rs index 280735c1..ab0334c4 100644 --- a/src/sdl2_ttf/lib.rs +++ b/src/sdl2_ttf/lib.rs @@ -80,9 +80,9 @@ fn color_to_c_color(color: Color) -> SDL_Color { /// FIXME: this type should be in rust-sdl2 package #[deriving(Eq, Clone)] pub struct SDLVersion { - major: int, - minor: int, - patch: int, + pub major: int, + pub minor: int, + pub patch: int, } impl fmt::Show for SDLVersion {