ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.33k stars 526 forks source link

[BUG] A 'G' at the start of a script error message #2568

Open Blue-Shadow opened 1 month ago

Blue-Shadow commented 1 month ago

GZDoom version

4.12.2

Which game are you running with GZDoom?

None

What Operating System are you using?

Windows 10

Please describe your specific OS version

Home, 22H2, build 19045.4291

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

Testing my mod, I got a script error one time. I decided to copy the contents of the window (by clicking the "Copy to clipboard" button) and paste it into a text file. I noticed that each line of the script error message had a 'G' prepended to it in the pasted text. This is only the pasted text, however. The error text as it appears in the fatal error window in GZDoom is fine; no 'G's.

I pasted the text using Notepad, Notepad++ and WordPad. All the same. So it's not a text editor thing.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Load something which would produce a script error on launch.
  2. Copy and paste the contents into a text file by clicking the "Copy to clipboard" button.
  3. Check the script error message in the pasted text.

Your configuration

No response

Provide a Log

No response