Browse Source

desktop: fixed swap_float()

get indexes right
mission-4.1.18
Andrew Tridgell 13 years ago committed by Pat Hickey
parent
commit
24a7a18481
  1. 2
      libraries/Desktop/support/util.cpp

2
libraries/Desktop/support/util.cpp

@ -57,7 +57,7 @@ float swap_float(float f) @@ -57,7 +57,7 @@ float swap_float(float f)
int i;
in.f = f;
for (i=0; i<4; i++) {
out.b[4-i] = in.b[i];
out.b[3-i] = in.b[i];
}
return out.f;
}

Loading…
Cancel
Save