From 9178353bb41738e02c99235026ae3b62c2b4119d Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Tue, 20 May 2008 22:36:28 +0000 Subject: [PATCH] Fix inclusion guards for future widgets. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810532 --- widgets/make_widget.sh | 2 +- widgets/template.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/widgets/make_widget.sh b/widgets/make_widget.sh index deec05bc3..e93bb29f6 100755 --- a/widgets/make_widget.sh +++ b/widgets/make_widget.sh @@ -4,7 +4,7 @@ LOWERNAME=`echo $1 | tr [:upper:] [:lower:]` NAME=$1 -CAPNAME=`echo $3 | tr [:lower:] [:upper:]` +CAPNAME=`echo $1 | tr [:lower:] [:upper:]` NATIVE="Q${NAME}" HEADER="${LOWERNAME}.h" SOURCE="${LOWERNAME}.cpp" diff --git a/widgets/template.h b/widgets/template.h index 82bb3e328..4922221e6 100644 --- a/widgets/template.h +++ b/widgets/template.h @@ -18,8 +18,8 @@ */ -#ifndef PLASMA_TEMPLATE_H -#define PLASMA_TEMPLATE_H +#ifndef PLASMA__H +#define PLASMA__H #include