MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Save

Method Save

scintilla/src/ViewStyle.cxx:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46const char *FontNames::Save(const char *name) {
47 if (!name)
48 return 0;
49
50 for (std::vector<char *>::const_iterator it=names.begin(); it != names.end(); ++it) {
51 if (strcmp(*it, name) == 0) {
52 return *it;
53 }
54 }
55 char *nameSave = new char[strlen(name) + 1];
56 strcpy(nameSave, name);
57 names.push_back(nameSave);
58 return nameSave;
59}
60
61FontRealised::FontRealised() {
62}

Callers 5

ViewStyleMethod · 0.80
ResetDefaultStyleMethod · 0.80
SetStyleFontNameMethod · 0.80
PathCreateDeskLnkFunction · 0.80
PathCreateFavLnkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected