aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-12-20 09:23:04 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-12-20 09:23:04 +0100
commit4b7d677f83b6dacde547770a492db2c10875d19e (patch)
treeb562ab927ade88b42fdc6878b0a2cae34a64bcc9
parentc171ea76db346df158c80f7fa207f2af832d16ee (diff)
parent6e9969ccc019500687a329a90219d26adf7d816e (diff)
downloadglutin-4b7d677f83b6dacde547770a492db2c10875d19e.tar.gz
glutin-4b7d677f83b6dacde547770a492db2c10875d19e.zip
Merge pull request #166 from Cifram/master
Add semicolons after macro invocations, as required by the latest nightly.
-rw-r--r--examples/fullscreen.rs2
-rw-r--r--examples/multiwindow.rs2
-rw-r--r--examples/window.rs2
-rw-r--r--src/win32/init.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 8d59d21..bc15379 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -11,7 +11,7 @@ use std::io::stdio::stdin;
mod support;
#[cfg(target_os = "android")]
-android_start!(main)
+android_start!(main);
#[cfg(not(feature = "window"))]
fn main() { println!("This example requires glutin to be compiled with the `window` feature"); }
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index 62af7d5..5fe9b71 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -9,7 +9,7 @@ extern crate glutin;
mod support;
#[cfg(target_os = "android")]
-android_start!(main)
+android_start!(main);
#[cfg(not(feature = "window"))]
fn main() { println!("This example requires glutin to be compiled with the `window` feature"); }
diff --git a/examples/window.rs b/examples/window.rs
index dce8f3a..400aa84 100644
--- a/examples/window.rs
+++ b/examples/window.rs
@@ -9,7 +9,7 @@ extern crate glutin;
mod support;
#[cfg(target_os = "android")]
-android_start!(main)
+android_start!(main);
#[cfg(not(feature = "window"))]
fn main() { println!("This example requires glutin to be compiled with the `window` feature"); }
diff --git a/src/win32/init.rs b/src/win32/init.rs
index f10eb7c..a205d0c 100644
--- a/src/win32/init.rs
+++ b/src/win32/init.rs
@@ -16,7 +16,7 @@ use winapi;
///
/// We only have one window per thread. We still store the HWND in case where we
/// receive an event for another window.
-thread_local!(static WINDOW: Rc<RefCell<Option<(winapi::HWND, Sender<Event>)>>> = Rc::new(RefCell::new(None)))
+thread_local!(static WINDOW: Rc<RefCell<Option<(winapi::HWND, Sender<Event>)>>> = Rc::new(RefCell::new(None)));
pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: String,
builder_monitor: Option<super::MonitorID>,