< prev index next >

src/java.desktop/share/native/libfontmanager/layout/SunLayoutEngine.cpp

Print this page

        

@@ -149,11 +149,12 @@
   if (engine == NULL) {
     env->SetIntField(gvdata, gvdCountFID, -1); // flag failure
     return;
   }
 
-  if (min < 0) min = 0; if (max < min) max = min; /* defensive coding */
+  if (min < 0) min = 0;
+  if (max < min) max = min; /* defensive coding */
   // have to copy, yuck, since code does upcalls now.  this will be soooo slow
   jint len = max - min;
   jchar buffer[256];
   jchar* chars = buffer;
   if (len > 256) {
< prev index next >