diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2023-05-04 22:36:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 22:36:23 -0400 |
| commit | ecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95 (patch) | |
| tree | b68d94985389201efa89938523bc536f7950a7dd /ZAPD/ZResource.cpp | |
| parent | 0dbba745dfed52be5cab97257dbf56a2223dd874 (diff) | |
Cleaned up and Documented Declaration Class (#290)
Diffstat (limited to 'ZAPD/ZResource.cpp')
| -rw-r--r-- | ZAPD/ZResource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZResource.cpp b/ZAPD/ZResource.cpp index 8825cc9..3aedec9 100644 --- a/ZAPD/ZResource.cpp +++ b/ZAPD/ZResource.cpp @@ -274,7 +274,7 @@ void ZResource::GetSourceOutputCode([[maybe_unused]] const std::string& prefix) if (decl == nullptr || decl->isPlaceholder) decl = DeclareVar(prefix, bodyStr); else - decl->text = bodyStr; + decl->declBody = bodyStr; decl->staticConf = staticConf; } |
