summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-16 10:18:16 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-16 10:18:16 +0100
commit59666304be35773fcb4c9c7eeef40695e6203c8c (patch)
tree658e5ab592b9e7ab4870b42973be34d66dafdf4c /src/string.cpp
parentd8971221a3d271d18879d625aaaf89cc0df9eb63 (diff)
downloadunity-window-decorator-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.gz
unity-window-decorator-59666304be35773fcb4c9c7eeef40695e6203c8c.tar.bz2
Whitespace fixes.
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/string.cpp b/src/string.cpp
index cc96c5e..7ec0bec 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -34,7 +34,7 @@ CompString compPrintf (const char *format, ...)
CompString rv;
va_start (ap, format);
- rv = compPrintf(format, ap);
+ rv = compPrintf (format, ap);
va_end (ap);
return rv;
@@ -74,13 +74,14 @@ CompString compPrintf (const char *format, va_list ap)
delete [] str;
str = new char[size];
-
+
if (!str)
{
return CompString ("");
}
}
- CompString rv(str);
+
+ CompString rv (str);
delete [] str;
return rv;
}