TortoiseGit日本語言語ファイル作成
Revisión | facea946dc5f5e7395afbf7acab92371087c672a (tree) |
---|---|
Tiempo | 2010-01-18 21:21:01 |
Autor | Frank Li <lznuaa@gmai...> |
Commiter | Frank Li |
Fix log graph don't show line at git blame
Signed-off-by: Frank Li <lznuaa@gmail.com>
@@ -62,6 +62,9 @@ BOOL CTortoiseGitBlameApp::InitInstance() | ||
62 | 62 | |
63 | 63 | CWinAppEx::InitInstance(); |
64 | 64 | |
65 | + Gdiplus::GdiplusStartupInput gdiplusStartupInput; | |
66 | + Gdiplus::GdiplusStartup(&m_gdiplusToken,&gdiplusStartupInput,NULL); | |
67 | + | |
65 | 68 | // Initialize OLE libraries |
66 | 69 | if (!AfxOleInit()) |
67 | 70 | { |
@@ -182,3 +185,10 @@ void CTortoiseGitBlameApp::SaveCustomState() | ||
182 | 185 | |
183 | 186 | |
184 | 187 | |
188 | + | |
189 | +int CTortoiseGitBlameApp::ExitInstance() | |
190 | +{ | |
191 | + // TODO: Add your specialized code here and/or call the base class | |
192 | + Gdiplus::GdiplusShutdown(m_gdiplusToken); | |
193 | + return CWinAppEx::ExitInstance(); | |
194 | +} |
@@ -18,7 +18,7 @@ class CTortoiseGitBlameApp : public CWinAppEx | ||
18 | 18 | { |
19 | 19 | public: |
20 | 20 | CTortoiseGitBlameApp(); |
21 | - | |
21 | + ULONG_PTR m_gdiplusToken; | |
22 | 22 | |
23 | 23 | // Overrides |
24 | 24 | public: |
@@ -35,6 +35,7 @@ public: | ||
35 | 35 | CString m_Rev; |
36 | 36 | afx_msg void OnAppAbout(); |
37 | 37 | DECLARE_MESSAGE_MAP() |
38 | + virtual int ExitInstance(); | |
38 | 39 | }; |
39 | 40 | |
40 | 41 | extern CTortoiseGitBlameApp theApp; |