< prev index next >
src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c
Print this page
rev 16167 : 8170525: Fix minor issues in awt coding
*** 807,815 ****
{
*scaleFactor = 1;
#ifndef __linux__
return JNI_FALSE;
#endif
! *scaleFactor = getNativeScaleFactor(NULL);
return GetScaledImageName(fileName, scaledImgName, scaleFactor, scaledImageNameLength);
}
--- 807,815 ----
{
*scaleFactor = 1;
#ifndef __linux__
return JNI_FALSE;
#endif
! *scaleFactor = (float)getNativeScaleFactor(NULL);
return GetScaledImageName(fileName, scaledImgName, scaleFactor, scaledImageNameLength);
}
< prev index next >