diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-11-23 17:37:49 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-11-23 17:37:49 +0000 |
| commit | c0fcb987cc860851528a95c0fc168b76a61bb153 (patch) | |
| tree | dc35c2d02148f64748765df88f4343f510c941e6 | |
| parent | 36ffb5c5d58aaaa89490b422508e4fd17f9f6ad6 (diff) | |
Added forgotten 'static' keyword to clip_x().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/fl_rect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 5f739fa23..5cd8d7537 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -143,7 +143,7 @@ static int clip_to_short(int &x, int &y, int &w, int &h) { in fl_xyline() and fl_yxline(). Note that this can't be used for arbitrary lines (not horizontal or vertical). */ -int clip_x (int x) { +static int clip_x (int x) { int kmin = -fl_line_width_; int kmax = SHRT_MAX - fl_line_width_; |
