MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnOK

Method OnOK

editor/VirtualCompilerConfig.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void CVirtualCompilerConfig::OnOK() {
109 char buffer[_MAX_PATH];
110 UpdateData(true);
111
112 strcpy(buffer, m_Compiler.GetBuffer(0));
113 Database->write("EditorCompiler", buffer, strlen(buffer) + 1);
114
115 Database->write("EditorVCWarningLevel", m_WarningLevel);
116 Database->write("EditorVCDebugLevel", m_DebugType);
117 CDialog::OnOK();
118}

Callers

nothing calls this directly

Calls 2

GetBufferMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected