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
// PostMessage().
DBG(OUT("info: BApplication sucessfully registered.\n"));
DBG(OUT("info: BApplication successfully registered.\n"));
if (__libc_argc > 1) {
BMessage argvMessage(B_ARGV_RECEIVED);
+2 -2
View File
@@ -203,7 +203,7 @@ BMessenger::Target(BLooper** _looper) const
\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,
or the targeted looper is invalid.
*/
@@ -232,7 +232,7 @@ BMessenger::LockTarget() const
\see BLooper::LockWithTimeout() for details.
\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,
the target is remote, or the targeted looper is invalid,
- other error codes returned by BLooper::LockWithTimeout().
+7 -7
View File
@@ -137,7 +137,7 @@ BGameSoundDevice::SetInitError(status_t error)
status_t
BGameSoundDevice::CreateBuffer(gs_id* sound, const gs_audio_format* format,
BGameSoundDevice::CreateBuffer(gs_id* sound, const gs_audio_format* format,
const void* data, int64 frames)
{
if (frames <= 0 || !sound)
@@ -160,7 +160,7 @@ BGameSoundDevice::CreateBuffer(gs_id* sound, const gs_audio_format* format,
status_t
BGameSoundDevice::CreateBuffer(gs_id* sound, const void* object,
BGameSoundDevice::CreateBuffer(gs_id* sound, const void* object,
const gs_audio_format* format, size_t inBufferFrameCount,
size_t inBufferCount)
{
@@ -179,7 +179,7 @@ BGameSoundDevice::CreateBuffer(gs_id* sound, const void* object,
}
if (err == B_OK)
*sound = gs_id(position+1);
*sound = gs_id(position + 1);
return err;
}
@@ -192,7 +192,7 @@ BGameSoundDevice::ReleaseBuffer(gs_id sound)
if (fSounds[sound - 1]) {
// We must stop playback befor destroying the sound or else
// we may recieve fatel errors.
// we may receive fatel errors.
fSounds[sound - 1]->StopPlaying();
delete fSounds[sound - 1];
@@ -207,10 +207,10 @@ BGameSoundDevice::Buffer(gs_id sound, gs_audio_format* format, void*& data)
if (!format || sound <= 0)
return B_BAD_VALUE;
memcpy(format, &fSounds[sound-1]->Format(), sizeof(gs_audio_format));
if (fSounds[sound-1]->Data()) {
memcpy(format, &fSounds[sound - 1]->Format(), sizeof(gs_audio_format));
if (fSounds[sound - 1]->Data()) {
data = malloc(format->buffer_size);
memcpy(data, fSounds[sound-1]->Data(), format->buffer_size);
memcpy(data, fSounds[sound - 1]->Data(), format->buffer_size);
} else
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
or looses the focus.
or loses the focus.
\param focusState The focus state: true, if the view is getting the focus,
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 },
{ "Subject", B_MAIL_ATTR_SUBJECT, 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 },
// one first - the numeric
{ "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
model message for the error notification message.
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.
* 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
* delay.
*/
+3 -3
View File
@@ -6,11 +6,11 @@
/*!
\class DragTrackingFilter
\brief A simple mouse drag detection filter
*
*
* 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
* choice. Especially usefull for drag and drop.
* Allows you to free your code of encumbering mouse tracking details.
* choice. Especially useful for drag and drop.
* Allows you to free your code of encumbering mouse tracking details.
*
* It can detect fast drags spanning outside of a small view by temporarily
* setting the B_POINTER_EVENTS flag on the view.
+2 -2
View File
@@ -444,7 +444,7 @@ BIconButton::SetIcon(const unsigned char* bitsFromQuickRes,
if (status >= B_OK) {
// It doesn't look right to copy BitsLength() bytes, but bitmaps
// exported from QuickRes still contain their padding, so it is
// alright.
// all right.
memcpy(quickResBitmap->Bits(), bitsFromQuickRes,
quickResBitmap->BitsLength());
if (format != B_RGB32 && format != B_RGBA32
@@ -454,7 +454,7 @@ BIconButton::SetIcon(const unsigned char* bitsFromQuickRes,
quickResBitmap->Bounds(), B_RGB32, true);
if (bitmap && bitmap->IsValid()) {
BView* helper = new BView(bitmap->Bounds(), "helper",
B_FOLLOW_NONE, B_WILL_DRAW);
B_FOLLOW_NONE, B_WILL_DRAW);
if (bitmap->Lock()) {
bitmap->AddChild(helper);
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