[0.4.0-1054356] Backticks used in place of single quote

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
mjr4077au
Posts: 834
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

[0.4.0-1054356] Backticks used in place of single quote

Post by mjr4077au »

Many lines across all files are using backticks instead of single quotes, such as around %s upon a thrown error:

Code: Select all

  787      {
  788          g_errorCnt++;
  789:         initprintf("%s:%d: error: could not find file `%s'.\n",g_scriptFileName,g_lineNumber,confile);
  790          return;
  791      }
Doesn't affect functionality but is an inconsistency.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.0-1054356] Backticks used in place of single quote

Post by Graf Zahl »

Don't expect me to change these for a mere cosmetic effect. That's not worth potential merge conflicts.
User avatar
mjr4077au
Posts: 834
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [0.4.0-1054356] Backticks used in place of single quote

Post by mjr4077au »

Graf Zahl wrote:Don't expect me to change these for a mere cosmetic effect. That's not worth potential merge conflicts.
Sure, I'll leave that to you but it does lead to confusion. With my reported issue about -mx not working, seeing the backtick made me think I had provided the pathname wrong or perhaps the function that tries to find the con file was doing something wrong. Only when I dug around I confirmed it was a printing error only.

There's some ~1,700 occurrences through the codebase, probably stemming from an encoding issue between regions.

Return to “Closed Bugs [Raze]”