From 7359bd509afa235acc2ac2f7f95fc9cb5cafd1a4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 17 Dec 2010 16:42:55 +0000 Subject: apply astyle formatting git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2786 10f7b99b-c216-0410-bff0-8a66a9350fd8 --- src/Subtitles/libssf/FontWrapper.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/Subtitles/libssf/FontWrapper.h') diff --git a/src/Subtitles/libssf/FontWrapper.h b/src/Subtitles/libssf/FontWrapper.h index 176a1341e..d18eac670 100644 --- a/src/Subtitles/libssf/FontWrapper.h +++ b/src/Subtitles/libssf/FontWrapper.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2003-2006 Gabest * http://www.gabest.org * @@ -6,12 +6,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. - * + * * This Program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with GNU Make; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. @@ -33,9 +33,15 @@ namespace ssf public: FontWrapper(HDC hDC, HFONT hFont, const CStringW& key); virtual ~FontWrapper(); - operator HFONT() const {return m_hFont;} - operator LPCWSTR() const {return m_key;} - const TEXTMETRIC& GetTextMetric() const {return m_tm;} + operator HFONT() const { + return m_hFont; + } + operator LPCWSTR() const { + return m_key; + } + const TEXTMETRIC& GetTextMetric() const { + return m_tm; + } int GetKernAmount(WCHAR c1, WCHAR c2); }; } \ No newline at end of file -- cgit v1.2.3