Minor typo and style corrections.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 9 years ago
parent 508cf16bf9
commit ce9d4765cc

@ -401,7 +401,7 @@ kdbgstream::~kdbgstream() {
if (backtrace.ascii() != NULL) { if (backtrace.ascii() != NULL) {
fprintf(stderr, "%s", backtrace.latin1()); fprintf(stderr, "%s", backtrace.latin1());
} }
*this << "\n"; *this << '\n';
} }
} }

@ -601,7 +601,7 @@ TDECORE_EXPORT kdbgstream kdDebug(bool cond, int area = 0);
/** /**
* \relates TDEGlobal * \relates TDEGlobal
* Returns a backtrace. * Returns a backtrace.
* @param levels the number of levels of the backtrace. Defauls to -1 (as much as avalible). * @param levels the number of levels of the backtrace. Defaults to -1 (as much as available).
* @return a backtrace * @return a backtrace
* @since 3.1 * @since 3.1
*/ */
@ -610,7 +610,7 @@ TDECORE_EXPORT TQString kdBacktrace(int levels=-1);
* \relates TDEGlobal * \relates TDEGlobal
* Writes a backtrace to the given file descriptor. In contrast to * Writes a backtrace to the given file descriptor. In contrast to
* kdBacktrace, this function doesn't call any malloc(). So it supposed to be * kdBacktrace, this function doesn't call any malloc(). So it supposed to be
* used in situations than any extra memmmory allocation may lead to yet * used in situations in which any extra memory allocation may lead to yet
* another crash. As a limitation it doesn't produce any symbol demangling. * another crash. As a limitation it doesn't produce any symbol demangling.
* @param fd a file descriptor to write to. Defaults to 2 (stderr) * @param fd a file descriptor to write to. Defaults to 2 (stderr)
* @since 14.0 * @since 14.0

Loading…
Cancel
Save