Minor typo and style corrections.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ce9d4765cc)
pull/16/head
Michele Calgaro 10 years ago
parent 045b404b81
commit a3e422826d

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

@ -601,7 +601,7 @@ TDECORE_EXPORT kdbgstream kdDebug(bool cond, int area = 0);
/**
* \relates TDEGlobal
* 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
* @since 3.1
*/
@ -610,7 +610,7 @@ TDECORE_EXPORT TQString kdBacktrace(int levels=-1);
* \relates TDEGlobal
* Writes a backtrace to the given file descriptor. In contrast to
* 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.
* @param fd a file descriptor to write to. Defaults to 2 (stderr)
* @since 14.0

Loading…
Cancel
Save