author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月04日 11:47:11 +0100 |
commit | 046c56f449db15b9c9aa113cb03adf695dd7b9b6 (patch) | |
tree | 0ae7650dcac74233784f50608b15fb54f2f52d0c /agg-plot/canvas-window.cpp | |
parent | 3c1ad26e933233f6a7031b0b56c5b19ffb5ebf96 (diff) | |
download | gsl-shell-046c56f449db15b9c9aa113cb03adf695dd7b9b6.tar.gz |
-rw-r--r-- | agg-plot/canvas-window.cpp | 12 |
diff --git a/agg-plot/canvas-window.cpp b/agg-plot/canvas-window.cpp index 60598484..11270616 100644 --- a/agg-plot/canvas-window.cpp +++ b/agg-plot/canvas-window.cpp @@ -1,18 +1,18 @@ /* canvas-window.cpp - * + * * Copyright (C) 2009, 2010 Francesco Abbate - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. - * + * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -45,7 +45,7 @@ canvas_window::on_resize(int sx, int sy) delete m_canvas; m_canvas = new(std::nothrow) canvas(rbuf_window(), sx, sy, m_bgcolor); - + m_matrix.sx = sx; m_matrix.sy = sy; } @@ -69,7 +69,7 @@ bool canvas_window::start_new_thread (std::auto_ptr<canvas_window::thread_info>& void *user_data = (void *) inf.get(); if (pthread_create(&m_thread, attr, canvas_thread_function, user_data)) { - this->status = canvas_window::error; + this->status = canvas_window::error; pthread_attr_destroy (attr); return false; } |