Mercurial > hg > early-roguelike
annotate arogue7/arogue7.vcxproj @ 313:2f75940cc544
Advanced Rogue 7: fix a string literal overwrite.
pick_spell() attempted to capitalize type by overwriting the first
character, changing it back later. All calls of pick_spell passed a
string literal as type, and string literals should be considered
immutable.
This has been fixed by using a separate variable for the capitalized
first character. XRogue already has a similar fix.
Reported by John Harris of @Play.
| author | John "Elwin" Edwards |
|---|---|
| date | Tue, 19 Oct 2021 20:39:00 -0400 |
| parents | 23d2e2bf812f |
| children |
| rev | line source |
|---|---|
| 208 | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| 3 <ItemGroup Label="ProjectConfigurations"> | |
| 4 <ProjectConfiguration Include="Debug|Win32"> | |
| 5 <Configuration>Debug</Configuration> | |
| 6 <Platform>Win32</Platform> | |
| 7 </ProjectConfiguration> | |
| 8 <ProjectConfiguration Include="Release|Win32"> | |
| 9 <Configuration>Release</Configuration> | |
| 10 <Platform>Win32</Platform> | |
| 11 </ProjectConfiguration> | |
| 12 <ProjectConfiguration Include="Debug|x64"> | |
| 13 <Configuration>Debug</Configuration> | |
| 14 <Platform>x64</Platform> | |
| 15 </ProjectConfiguration> | |
| 16 <ProjectConfiguration Include="Release|x64"> | |
|
4146e2a06bc1
Update the Visual Studio project files.
John "Elwin" Edwards |
