From kde-commits Wed Oct 31 23:03:29 2012 From: Christoph Cullmann Date: Wed, 31 Oct 2012 23:03:29 +0000 To: kde-commits Subject: [kate] part/script/data/files/quickcoding/cpp: fixes Message-Id: <20121031230329.84658A6078 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135172461731689 Git commit 7424ee67381f10366f81ee844ba4ec6d9efe2f81 by Christoph Cullmann. Committed on 01/11/2012 at 00:03. Pushed by cullmann into branch 'master'. fixes M +2 -2 part/script/data/files/quickcoding/cpp/a.template http://commits.kde.org/kate/7424ee67381f10366f81ee844ba4ec6d9efe2f81 diff --git a/part/script/data/files/quickcoding/cpp/a.template b/part/scrip= t/data/files/quickcoding/cpp/a.template index 73eaa60..6cc9068 100644 --- a/part/script/data/files/quickcoding/cpp/a.template +++ b/part/script/data/files/quickcoding/cpp/a.template @@ -2,7 +2,7 @@ * Get value of <%=3D n %>. * @return <%=3D n %> */ -<%=3D t %><% if (t.match(/[&\*]$/)) { %> <% } %><%=3D n %> () const<% if (= typeof(i)!=3D=3D 'undefined') { %> +<%=3D t %><% if (!t.match(/[&\*]$/)) { %> <% } %><%=3D n %> () const<% if = (typeof(i)!=3D=3D 'undefined') { %> { return m_<%=3D n %>; }<% } else { %>;<% }%> @@ -11,7 +11,7 @@ * Set value of <%=3D n %>. * @param <%=3D n %> new value of <%=3D n %> */ -void set<% n.capitalize(); %> (<%=3D t %><% if (t.match(/[&\*]$/)) { %> <%= } %><%=3D n %>)<% if (typeof(i)!=3D=3D 'undefined') { %> +void set<% n.capitalize(); %> (<%=3D t %><% if (!t.match(/[&\*]$/)) { %> <= % } %><%=3D n %>)<% if (typeof(i)!=3D=3D 'undefined') { %> { m_<%=3D n %> =3D <%=3D n %>; }<% } else { %>;<% }%>