8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h

Reviewed-by: serb
This commit is contained in:
Volker Simonis 2016-08-10 17:55:08 +02:00
parent bb95ea6101
commit 0e13ad60ad
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
#include <signal.h>
#include <stdlib.h>
double getNativeScaleFactor();
double getNativeScaleFactor(char *output_name);
#endif

View File

@ -806,7 +806,7 @@ SplashGetScaledImageName(const char* jarName, const char* fileName,
#ifndef __linux__
return JNI_FALSE;
#endif
*scaleFactor = getNativeScaleFactor();
*scaleFactor = getNativeScaleFactor(NULL);
if (*scaleFactor == 2.0) {
size_t length = 0;
char *stringToAppend = ".java-scale2x";