From 0ddd80b0c96ccc65636e8cb037f5e3cb27b4b050 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 2 Jul 2006 22:41:59 +0000 Subject: [PATCH] Spelling fixes --- src/java/org/lwjgl/applet/LWJGLInstaller.java | 6 +++--- src/java/org/lwjgl/opengl/AWTSurfaceLock.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/lwjgl/applet/LWJGLInstaller.java b/src/java/org/lwjgl/applet/LWJGLInstaller.java index 07328af2..f42417a4 100644 --- a/src/java/org/lwjgl/applet/LWJGLInstaller.java +++ b/src/java/org/lwjgl/applet/LWJGLInstaller.java @@ -123,7 +123,7 @@ public class LWJGLInstaller { } // create a temporary dir for the native files - String user_temp_dir = getPriveledgedString("java.io.tmpdir"); + String user_temp_dir = getPriviledgedString("java.io.tmpdir"); String path = createTemporaryDir(user_temp_dir); if(path == null) { throw new LWJGLException("Failed creation of temporary directory in " + user_temp_dir); @@ -251,7 +251,7 @@ public class LWJGLInstaller { /** * Gets a property as a privileged action. */ - private static String getPriveledgedString(final String property) { + private static String getPriviledgedString(final String property) { return (String) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return System.getProperty(property); @@ -315,4 +315,4 @@ public class LWJGLInstaller { } file.delete(); } -} \ No newline at end of file +} diff --git a/src/java/org/lwjgl/opengl/AWTSurfaceLock.java b/src/java/org/lwjgl/opengl/AWTSurfaceLock.java index ae1cae46..b5bfb6fa 100644 --- a/src/java/org/lwjgl/opengl/AWTSurfaceLock.java +++ b/src/java/org/lwjgl/opengl/AWTSurfaceLock.java @@ -75,7 +75,7 @@ final class AWTSurfaceLock { private boolean privilegedLockAndInitHandle(final Canvas canvas) throws LWJGLException { // Workaround for Sun JDK bug 4796548 which still exists in java for OS X - // We need to elevate priveleges because of an AWT bug. Please see + // We need to elevate privileges because of an AWT bug. Please see // http://192.18.37.44/forums/index.php?topic=10572 for a discussion. // It is only needed on first call, so we avoid it on all subsequent calls // due to performance. @@ -103,4 +103,4 @@ final class AWTSurfaceLock { } private static native void nUnlock(ByteBuffer lock_buffer) throws LWJGLException; -} \ No newline at end of file +}