kits: Some spelling cleanup of common mistyped words

* Little whitespace cleanup
* No functional change
This commit is contained in:
Alexander von Gluck IV
2012-02-08 16:50:18 -06:00
parent 458166fb30
commit 1b6bc2675f
10 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ BApplication::_InitData(const char *signature, bool initGUI, status_t *_error)
// TODO: When BLooper::AddMessage() is done, use that instead of // TODO: When BLooper::AddMessage() is done, use that instead of
// PostMessage(). // PostMessage().
DBG(OUT("info: BApplication sucessfully registered.\n")); DBG(OUT("info: BApplication successfully registered.\n"));
if (__libc_argc > 1) { if (__libc_argc > 1) {
BMessage argvMessage(B_ARGV_RECEIVED); BMessage argvMessage(B_ARGV_RECEIVED);
+2 -2
View File
@@ -203,7 +203,7 @@ BMessenger::Target(BLooper** _looper) const
\see BLooper::Lock() for details. \see BLooper::Lock() for details.
\return \c true, if the looper could be locked sucessfully, \c false, if \return \c true, if the looper could be locked successfully, \c false, if
the messenger is not properly initialized, the target is remote, the messenger is not properly initialized, the target is remote,
or the targeted looper is invalid. or the targeted looper is invalid.
*/ */
@@ -232,7 +232,7 @@ BMessenger::LockTarget() const
\see BLooper::LockWithTimeout() for details. \see BLooper::LockWithTimeout() for details.
\return \return
- \c B_OK, if the looper could be locked sucessfully, - \c B_OK, if the looper could be locked successfully,
- \c B_BAD_VALUE, if the messenger is not properly initialized, - \c B_BAD_VALUE, if the messenger is not properly initialized,
the target is remote, or the targeted looper is invalid, the target is remote, or the targeted looper is invalid,
- other error codes returned by BLooper::LockWithTimeout(). - other error codes returned by BLooper::LockWithTimeout().
+5 -5
View File
@@ -179,7 +179,7 @@ BGameSoundDevice::CreateBuffer(gs_id* sound, const void* object,
} }
if (err == B_OK) if (err == B_OK)
*sound = gs_id(position+1); *sound = gs_id(position + 1);
return err; return err;
} }
@@ -192,7 +192,7 @@ BGameSoundDevice::ReleaseBuffer(gs_id sound)
if (fSounds[sound - 1]) { if (fSounds[sound - 1]) {
// We must stop playback befor destroying the sound or else // We must stop playback befor destroying the sound or else
// we may recieve fatel errors. // we may receive fatel errors.
fSounds[sound - 1]->StopPlaying(); fSounds[sound - 1]->StopPlaying();
delete fSounds[sound - 1]; delete fSounds[sound - 1];
@@ -207,10 +207,10 @@ BGameSoundDevice::Buffer(gs_id sound, gs_audio_format* format, void*& data)
if (!format || sound <= 0) if (!format || sound <= 0)
return B_BAD_VALUE; return B_BAD_VALUE;
memcpy(format, &fSounds[sound-1]->Format(), sizeof(gs_audio_format)); memcpy(format, &fSounds[sound - 1]->Format(), sizeof(gs_audio_format));
if (fSounds[sound-1]->Data()) { if (fSounds[sound - 1]->Data()) {
data = malloc(format->buffer_size); data = malloc(format->buffer_size);
memcpy(data, fSounds[sound-1]->Data(), format->buffer_size); memcpy(data, fSounds[sound - 1]->Data(), format->buffer_size);
} else } else
data = NULL; data = NULL;
+1 -1
View File
@@ -858,7 +858,7 @@ BTextView::FrameResized(float width, float height)
/*! \brief Highlight/unhighlight the selection when the view gets /*! \brief Highlight/unhighlight the selection when the view gets
or looses the focus. or loses the focus.
\param focusState The focus state: true, if the view is getting the focus, \param focusState The focus state: true, if the view is getting the focus,
false otherwise. false otherwise.
*/ */
+1 -1
View File
@@ -35,7 +35,7 @@ static const mail_header_field gDefaultFields[] = {
{ "Reply-To", B_MAIL_ATTR_REPLY, B_STRING_TYPE }, { "Reply-To", B_MAIL_ATTR_REPLY, B_STRING_TYPE },
{ "Subject", B_MAIL_ATTR_SUBJECT, B_STRING_TYPE }, { "Subject", B_MAIL_ATTR_SUBJECT, B_STRING_TYPE },
{ "X-Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE }, { "X-Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE },
// Priorities with prefered // Priorities with preferred
{ "Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE }, { "Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE },
// one first - the numeric // one first - the numeric
{ "X-Msmail-Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE }, { "X-Msmail-Priority", B_MAIL_ATTR_PRIORITY, B_STRING_TYPE },
+1 -1
View File
@@ -83,7 +83,7 @@ Unregister(const BMessenger& notifyHandler, const media_node& node,
} }
/*! Transmits the error code specified by \a what to anyone who's receiving /*! Transmits the error code specified by \a what to anyone whose receiving
notifications from this node. If \a info isn't \c NULL, it's used as a notifications from this node. If \a info isn't \c NULL, it's used as a
model message for the error notification message. model message for the error notification message.
The message field "be:node_id" will contain the node ID. The message field "be:node_id" will contain the node ID.
+1 -1
View File
@@ -57,7 +57,7 @@ public:
/* Get or set the minimum delay between sending out successive buffers. /* Get or set the minimum delay between sending out successive buffers.
* Although the StreamManager automatically shuts down when there * Although the StreamManager automatically shuts down when there
* are no more subscribers, setting the minumum delay can prevent * are no more subscribers, setting the minimum delay can prevent
* prevent runaway streams. A zero or negative value means no * prevent runaway streams. A zero or negative value means no
* delay. * delay.
*/ */
+1 -1
View File
@@ -9,7 +9,7 @@
* *
* A simple mouse filter that detects the start of a mouse drag over a * A simple mouse filter that detects the start of a mouse drag over a
* threshold distance and sends a message with the 'what' field of your * threshold distance and sends a message with the 'what' field of your
* choice. Especially usefull for drag and drop. * choice. Especially useful for drag and drop.
* Allows you to free your code of encumbering mouse tracking details. * Allows you to free your code of encumbering mouse tracking details.
* *
* It can detect fast drags spanning outside of a small view by temporarily * It can detect fast drags spanning outside of a small view by temporarily
+2 -2
View File
@@ -444,7 +444,7 @@ BIconButton::SetIcon(const unsigned char* bitsFromQuickRes,
if (status >= B_OK) { if (status >= B_OK) {
// It doesn't look right to copy BitsLength() bytes, but bitmaps // It doesn't look right to copy BitsLength() bytes, but bitmaps
// exported from QuickRes still contain their padding, so it is // exported from QuickRes still contain their padding, so it is
// alright. // all right.
memcpy(quickResBitmap->Bits(), bitsFromQuickRes, memcpy(quickResBitmap->Bits(), bitsFromQuickRes,
quickResBitmap->BitsLength()); quickResBitmap->BitsLength());
if (format != B_RGB32 && format != B_RGBA32 if (format != B_RGB32 && format != B_RGBA32
@@ -454,7 +454,7 @@ BIconButton::SetIcon(const unsigned char* bitsFromQuickRes,
quickResBitmap->Bounds(), B_RGB32, true); quickResBitmap->Bounds(), B_RGB32, true);
if (bitmap && bitmap->IsValid()) { if (bitmap && bitmap->IsValid()) {
BView* helper = new BView(bitmap->Bounds(), "helper", BView* helper = new BView(bitmap->Bounds(), "helper",
B_FOLLOW_NONE, B_WILL_DRAW); B_FOLLOW_NONE, B_WILL_DRAW);
if (bitmap->Lock()) { if (bitmap->Lock()) {
bitmap->AddChild(helper); bitmap->AddChild(helper);
helper->SetHighColor(ui_color(B_PANEL_BACKGROUND_COLOR)); helper->SetHighColor(ui_color(B_PANEL_BACKGROUND_COLOR));
+1 -1
View File
@@ -786,7 +786,7 @@ find_instantiation_func(BMessage* archive)
} }
// BArchivable binary compatability // BArchivable binary compatibility
#if __GNUC__ == 2 #if __GNUC__ == 2