MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SetInfo

Method SetInfo

src/Windows/DockableWindow.cpp:183–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183int DockableWindow::SetInfo(const TCHAR* info) {
184 if (lstrlen(info) > (m_infoSize-1))
185 return -1;
186
187 lstrcpy(m_info, info);
188
189 if (m_registered)
190 UpdateDockInfo();
191
192 return 0;
193}
194
195int DockableWindow::RegisterDockableDialog() {
196 if (m_registered) //it is an error to register twice

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected