Skip to content

Commit

Permalink
Removed unnecessary casts (STR #2308).
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed Dec 8, 2010
1 parent 9e2d044 commit f9388a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/line_style.cxx
Expand Up @@ -58,10 +58,10 @@ void test_box::draw() {
dashes[3] = char(sliders[8]->value());
dashes[4] = 0;
fl_line_style(
(long)(choice[0]->mvalue()->argument()) +
(long)(choice[1]->mvalue()->argument()) +
(long)(choice[2]->mvalue()->argument()),
(long)(sliders[3]->value()), // width
choice[0]->mvalue()->argument() +
choice[1]->mvalue()->argument() +
choice[2]->mvalue()->argument(),
long(sliders[3]->value()), // width
dashes);

// draw the defined fl_rect and fl_vertex first and then
Expand Down

0 comments on commit f9388a3

Please sign in to comment.