From 8ccdfe89171e33b58d3f4324be6ca85f5b11b7aa Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 1 Aug 2023 19:51:56 +0200 Subject: AudioSystem3D.checkAL*Error(): Close single quote in error message --- src/java/com/jogamp/openal/sound3d/AudioSystem3D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java') diff --git a/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java index 0d35da6..017252f 100644 --- a/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java +++ b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java @@ -139,7 +139,7 @@ public class AudioSystem3D { public static boolean checkALError(final String prefix, final boolean verbose, final boolean throwException) { final int alErr = al.alGetError(); if( ALConstants.AL_NO_ERROR != alErr ) { - final String msg = prefix+": AL error 0x"+Integer.toHexString(alErr)+", '"+al.alGetString(alErr); + final String msg = prefix+": AL error 0x"+Integer.toHexString(alErr)+", '"+al.alGetString(alErr)+"'"; if( verbose ) { System.err.println(msg); } @@ -162,7 +162,7 @@ public class AudioSystem3D { final ALCdevice alcDevice = null != device ? device.getALDevice() : null; final int alcErr = alc.alcGetError( alcDevice ); if( ALCConstants.ALC_NO_ERROR != alcErr ) { - final String msg = prefix+": ALC error 0x"+Integer.toHexString(alcErr)+", "+alc.alcGetString(alcDevice, alcErr); + final String msg = prefix+": ALC error 0x"+Integer.toHexString(alcErr)+", '"+alc.alcGetString(alcDevice, alcErr)+"'"; if( verbose ) { System.err.println(msg); } -- cgit v1.2.3