]> git.sesse.net Git - vlc/commitdiff
Fix some common typos.
authorKonstantin Pavlov <thresh@videolan.org>
Fri, 24 Feb 2012 11:19:46 +0000 (15:19 +0400)
committerKonstantin Pavlov <thresh@videolan.org>
Tue, 28 Feb 2012 07:44:34 +0000 (11:44 +0400)
33 files changed:
extras/package/win32/UAC/runas.cpp
include/vlc/libvlc_media.h
include/vlc_es.h
include/vlc_sql.h
modules/access/dvb/linux_dvb.c
modules/codec/dirac.c
modules/codec/omxil/OMX_Audio.h
modules/codec/shine/enc_base.h
modules/codec/shine/shine.c
modules/codec/wmafixed/bitstream.h
modules/demux/mkv/chapter_command.hpp
modules/demux/mkv/mkv.cpp
modules/demux/sid.cpp
modules/demux/subtitle.c
modules/demux/wav.c
modules/gui/macosx/MainWindow.m
modules/gui/qt4/dialogs/messages.cpp
modules/lua/meta.c
modules/media_library/ml_watch.c
modules/media_library/sql_monitor.c
modules/media_library/sql_search.c
modules/misc/audioscrobbler.c
modules/mmx/fastmemcpy.h
modules/packetizer/dirac.c
modules/video_filter/atmo/FnordlichtConnection.cpp
modules/video_filter/atmo/atmo.cpp
modules/video_filter/opencv_wrapper.c
modules/video_filter/remoteosd.c
modules/video_output/msw/common.c
projects/macosx/framework/Headers/Public/VLCMedia.h
src/playlist/loadsave.c
src/playlist/thread.c
src/text/strings.c

index 57c41324bb4e626646e8053ddfc5d69e194857c2..ab2f0b037b61e4e679e19ea2aa85593c06b4840a 100644 (file)
@@ -267,7 +267,7 @@ DWORD MyRunAs(HINSTANCE hInstDll,SHELLEXECUTEINFO&sei) {
 
 
 #ifdef BUILD_DBG
-// RunDll exports are __stdcall, we dont care about that for this debug export, rundll32.exe is able to handle this mistake
+// RunDll exports are __stdcall, we don't care about that for this debug export, rundll32.exe is able to handle this mistake
 extern "C" void __declspec(dllexport) __cdecl DBGRDMyRunAs(HWND hwnd,HINSTANCE hinst,LPTSTR lpCmdLine,int nCmdShow) {
        SHELLEXECUTEINFO sei={sizeof(sei)};
        sei.lpFile=_T("Notepad.exe");//sei.lpParameters=_T("param1");
index 6c5bda0918657811fc053027819f771beb4a3b36..279a29c0b2c2489cbb00889c4236d030099d243f 100644 (file)
@@ -352,7 +352,7 @@ LIBVLC_API void libvlc_media_set_meta( libvlc_media_t *p_md,
  * Save the meta previously set
  *
  * \param p_md the media desriptor
- * \return true if the write operation was successfull
+ * \return true if the write operation was successful
  */
 LIBVLC_API int libvlc_media_save_meta( libvlc_media_t *p_md );
 
index d80ec4d0bdf24100fcafd3536cee346e8dbd060d..437a757873a8cd2b9fa03b63bb568d9e1d9f2b8f 100644 (file)
@@ -273,7 +273,7 @@ struct es_format_t
     int      i_profile;       /**< codec specific information (like real audio flavor, mpeg audio layer, h264 profile ...) */
     int      i_level;         /**< codec specific information: indicates maximum restrictions on the stream (resolution, bitrate, codec features ...) */
 
-    bool     b_packetized;  /**< wether the data is packetized (ie. not truncated) */
+    bool     b_packetized;  /**< whether the data is packetized (ie. not truncated) */
     int     i_extra;        /**< length in bytes of extra data pointer */
     void    *p_extra;       /**< extra data needed by some decoders or muxers */
 
index 39e9ad4f0f5721db7d717242cb61c9dcbe249f5f..8dae6ef3440812990df767bcbf5b892c1fad9e25 100644 (file)
@@ -304,7 +304,7 @@ static inline void sql_RollbackTransaction( sql_t *p_sql )
  * @param p_sql The SQL object
  * @param p_fmt SQL query string
  * @param i_length length of the string. If negative, length will be
- * considered upto the first \0 character equivalent to strlen(p_fmt).
+ * considered up to the first \0 character equivalent to strlen(p_fmt).
  * Otherwise the first i_length bytes will be used
  * @return a sql_stmt_t pointer or NULL on failure
  */
@@ -384,7 +384,7 @@ static inline int sql_BindDouble( sql_t *p_sql, sql_stmt_t* p_stmt,
  * @param p_stmt Statement Object
  * @param i_pos Position at which the parameter should be bound
  * @param p_fmt Value to be bound
- * @param i_length Length of text. If -ve text upto the first null char
+ * @param i_length Length of text. If -ve text up to the first null char
  * will be selected.
  * @return VLC_SUCCESS or VLC_EGENERIC
  */
index 1e163cb3d43a8633e7dfe8584ad605fe4966fbbd..f6e15f554ad216ba8d107e7ec7a25e6176d9894c 100644 (file)
@@ -418,7 +418,7 @@ static int ScanParametersDvbC( access_t *p_access, scan_parameter_t *p_scan )
         ? p_frontend->info.frequency_stepsize : 166667;
     p_scan->frequency.i_count = (p_scan->frequency.i_max-p_scan->frequency.i_min)/p_scan->frequency.i_step;
 
-    /* if user supplies modulation or frontend can do auto, dont scan them */
+    /* if user supplies modulation or frontend can do auto, don't scan them */
     if( var_GetInteger( p_access, "dvb-modulation" ) ||
         p_frontend->info.caps & FE_CAN_QAM_AUTO )
     {
index 6301535d0b68d9638c4a4d07b3b0e4fd4db61156..898ad840c25ad5d7cd4edbc99aab1b310082d033 100644 (file)
@@ -289,13 +289,13 @@ vlc_module_begin()
     change_integer_range(-1, 4);
 
     /* advanced option only */
-    /* NB, unforunately vlc doesn't have a concept of 'dont care' */
+    /* NB, unforunately vlc doesn't have a concept of 'don't care' */
     add_integer( ENC_CFG_PREFIX ENC_MULTIQUANT, -1,
                  ENC_MULTIQUANT_TEXT, ENC_MULTIQUANT_LONGTEXT, true )
     change_integer_range(-1, 1);
 
     /* advanced option only */
-    /* NB, unforunately vlc doesn't have a concept of 'dont care' */
+    /* NB, unforunately vlc doesn't have a concept of 'don't care' */
     add_integer( ENC_CFG_PREFIX ENC_SPARTITION, -1,
                  ENC_SPARTITION_TEXT, ENC_SPARTITION_LONGTEXT, true )
     change_integer_range(-1, 1);
index d4f2c0468457db878108836c3e340dbb555be05e..a19dbc81def8e20393e24da2ce4527e7cbb7274d 100644 (file)
@@ -310,7 +310,7 @@ typedef struct OMX_AUDIO_PARAM_VORBISTYPE {
     OMX_U32 nAudioBandWidth;  /**< Audio band width (in Hz) to which an encoder should\r
                                    limit the audio signal. Use 0 to let encoder decide */\r
     OMX_S32 nQuality;            /**< Sets encoding quality to n, between -1 (low) and 10 (high).\r
-                                   In the default mode of operation, teh quality level is 3.\r
+                                   In the default mode of operation, the quality level is 3.\r
                                    Normal quality range is 0 - 10. */\r
     OMX_BOOL bManaged;           /**< Set  bitrate  management  mode. This turns off the\r
                                    normal VBR encoding, but allows hard or soft bitrate\r
index 67cb41e5d828894491f4b6a905d81e4affbdfd0c..a24b0bcd222b3a560d7b1d091b8d42565c267771 100644 (file)
@@ -166,7 +166,7 @@ struct encoder_config
                                       a new file could start anytime       */
 #define CHUNKF_ABORT      0x0020ul /* Encoder should not finish this
                                       chunk                                */
-#define CHUNKF_ERROR    (~0ul ^ (~0ul >> 1)) /* An error has occured
+#define CHUNKF_ERROR    (~0ul ^ (~0ul >> 1)) /* An error has occurred
                                       (passed to/from encoder). Use the
                                       sign bit to check (long)flags < 0.   */
 #define CHUNKF_ALLFLAGS (0x0033ul | CHUNKF_ERROR)
index fcc5b2645d194b0c10de6adf90ed7d9bd0ec4ae4..0145607d6a18b7f828dd2292c9b482ba368a81c3 100644 (file)
@@ -1372,7 +1372,7 @@ static int quantize_int(int *xr, short *ix, side_info_t *si)
       ix[i] = int2idx[(xr[i] * s + 0x8000) >> 16];
   }
   else
-  { /* check each index wether it fits the table */
+  { /* check each index whether it fits the table */
     for(i=SAMPL2; i--; )
     {
       idx = (xr[i] * s + 0x08000) >> 16;
index 0d5328a1e167abcce16ad92269fd6542e3899670..c2d919c681b73bfa97572f46c3926aadb8364a1b 100644 (file)
@@ -369,7 +369,7 @@ static inline void skip_put_bytes(PutBitContext *s, int n){
 
 /**
  * skips the given number of bits.
- * must only be used if the actual values in the bitstream dont matter
+ * must only be used if the actual values in the bitstream do not matter
  */
 static inline void skip_put_bits(PutBitContext *s, int n){
 #ifdef ALT_BITSTREAM_WRITER
index 546965a3295ec844e33e12556c8d97b339f9ce93..a4c515f4391e32eda3e8f49f4ff0d3e35c42c9ff 100644 (file)
@@ -61,7 +61,7 @@ public:
 
     void AddCommand( const KaxChapterProcessCommand & command );
 
-    /// \return wether the codec has seeked in the files or not
+    /// \return whether the codec has seeked in the files or not
     virtual bool Enter() { return false; }
     virtual bool Leave() { return false; }
     virtual std::string GetCodecName( bool ) const { return ""; }
@@ -190,7 +190,7 @@ protected:
     // DVD command IDs
 
     // Tests
-    // wether it's a comparison on the value or register
+    // whether it's a comparison on the value or register
     static const uint16 CMD_DVD_TEST_VALUE          = 0x80;
     static const uint16 CMD_DVD_IF_GPREG_AND        = (1 << 4);
     static const uint16 CMD_DVD_IF_GPREG_EQUAL      = (2 << 4);
index 0c983678198780cc0751fc3503a632203677281c..f71e960ab8d1683ffba2a419feca2a2c5c12bb44 100644 (file)
@@ -186,7 +186,7 @@ static int Open( vlc_object_t * p_this )
                         if (!s_filename.compare(s_filename.length() - 3, 3, "mkv") ||
                             !s_filename.compare(s_filename.length() - 3, 3, "mka"))
                         {
-                            // test wether this file belongs to our family
+                            // test whether this file belongs to our family
                             const uint8_t *p_peek;
                             bool          file_ok = false;
                             std::string   s_url = make_URI( s_filename.c_str(), "file" );
index 29a9ad6503afa324e9c9151d78ffb39c44db409f..6a5f7a8b26e67f9e7a09847772b12fc23a287198 100644 (file)
@@ -174,7 +174,7 @@ static int Open (vlc_object_t *obj)
     return VLC_SUCCESS;
 
 error:
-    msg_Err (demux, "An error occured during sid demuxing" );
+    msg_Err (demux, "An error occurred during sid demuxing" );
     delete player;
     delete builder;
     delete tune;
index 18aeaa9a34c9c5a47b913c2e356d67d2da9918e3..2c2428277082951d12334294d18a9a820ee5f6a8 100644 (file)
@@ -713,7 +713,7 @@ static void Fix( demux_t *p_demux )
 
     /* *** fix order (to be sure...) *** */
     /* We suppose that there are near in order and this durty bubble sort
-     * wont take too much time
+     * would not take too much time
      */
     do
     {
index 4a96f0e1257c99eb8ed0e56ce0e9b187f0df25a2..18e65b2c150be4af1f370427987e68de4da17a3f 100644 (file)
@@ -388,7 +388,7 @@ static int Open( vlc_object_t * p_this )
     return VLC_SUCCESS;
 
 error:
-    msg_Err( p_demux, "An error occured during wav demuxing" );
+    msg_Err( p_demux, "An error occurred during wav demuxing" );
     free( p_wf );
     free( p_sys );
     return VLC_EGENERIC;
index ad89d7cc670e4d4f3df1e22fbb919370513fbf27..8aa637e6ede55175e640c46c50673c16550e4c26 100644 (file)
@@ -500,7 +500,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 - (void)resetPreviousButton
 {
     if (([NSDate timeIntervalSinceReferenceDate] - last_bwd_event) >= 0.35) {
-        // seems like no further event occured, so let's switch the playback item
+        // seems like no further event occurred, so let's switch the playback item
         [[VLCCoreInteraction sharedInstance] previous];
         just_triggered_previous = NO;
     }
@@ -539,7 +539,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 - (void)resetNextButton
 {
     if (([NSDate timeIntervalSinceReferenceDate] - last_fwd_event) >= 0.35) {
-        // seems like no further event occured, so let's switch the playback item
+        // seems like no further event occurred, so let's switch the playback item
         [[VLCCoreInteraction sharedInstance] next];
         just_triggered_next = NO;
     }
index b3bc3f228be59d40a89326f430d8d721987b01ca..e0d84d991b3fa41685ae9d2edb5440fd4f067204 100644 (file)
@@ -175,7 +175,7 @@ void MessagesDialog::sinkMessage( const MsgEvent *msg )
 
     QTextEdit *messages = ui.messages;
     /* Only scroll if the viewport is at the end.
-       Don't bug user by auto-changing/loosing viewport on insert(). */
+       Don't bug user by auto-changing/losing viewport on insert(). */
     bool b_autoscroll = ( messages->verticalScrollBar()->value()
                           + messages->verticalScrollBar()->pageStep()
                           >= messages->verticalScrollBar()->maximum() );
index eda16bcb7bee6dcf89055effc0b467979b3ea01a..824dd866a24f5279325ccfa368e1120c1ce41b27 100644 (file)
@@ -192,7 +192,7 @@ static int read_meta( vlc_object_t *p_this, const char * psz_filename,
     int i_ret = run(p_this, psz_filename, L, "read_meta");
     lua_close( L );
 
-    // Continue even if an error occured: all "meta reader" are always run.
+    // Continue even if an error occurred: all "meta reader" are always run.
     return i_ret == VLC_SUCCESS ? VLC_EGENERIC : i_ret;
 }
 
index 9ad575ccab35dfdb1f72107abe1bd55e1792a5d7..960bccf6d8c546f2bbb8ae027730b85b657a7dba 100644 (file)
@@ -412,7 +412,7 @@ static int watch_PlaylistItemCurrent( vlc_object_t *p_this, char const *psz_var,
 }
 
 /**
- * @brief Update informations in the DB for an input item
+ * @brief Update information in the DB for an input item
  *
  * @param p_ml this media library instance
  * @param i_media_id may be 0 (but not recommended)
index 37cd0a29774f3db1f814273e16a3cc75081d9969..47d56b47ec681659a2963807218e98bc7fd55f3d 100644 (file)
@@ -90,7 +90,7 @@ int RemoveDirToMonitor( media_library_t *p_ml, const char *psz_dir )
                           psz_dir );
         if( i_ret != VLC_SUCCESS )
         {
-            msg_Err( p_ml, "Error occured while making a query to the database" );
+            msg_Err( p_ml, "Error occurred while making a query to the database" );
             return i_ret;
         }
         QuerySimple( p_ml, "DELETE FROM directories WHERE uri LIKE '%q%%'",
@@ -105,7 +105,7 @@ int RemoveDirToMonitor( media_library_t *p_ml, const char *psz_dir )
                           psz_dir );
         if( i_ret != VLC_SUCCESS )
         {
-            msg_Err( p_ml, "Error occured while making a query to the database" );
+            msg_Err( p_ml, "Error occurred while making a query to the database" );
             return i_ret;
         }
         QuerySimple( p_ml, "DELETE FROM directories WHERE uri = %Q",
index b6006d23f68bdbbd316b6eac49e42f435c2ed175..d69d3d18a1823b36794f41a2528b48e7c4b62715 100644 (file)
@@ -70,7 +70,7 @@ int FindVa( media_library_t *p_ml,
     if( Query( p_ml, &pp_results, &i_rows, &i_cols, "%s", psz_query )
         != VLC_SUCCESS )
     {
-        msg_Err( p_ml, "Error occured while making the query to the database" );
+        msg_Err( p_ml, "Error occurred while making the query to the database" );
         return VLC_EGENERIC;
     }
 
@@ -114,7 +114,7 @@ int FindAdv( media_library_t *p_ml, vlc_array_t *p_result_array,
     if( Query( p_ml, &pp_results, &i_rows, &i_cols, "%s", psz_query )
         != VLC_SUCCESS )
     {
-        msg_Err( p_ml, "Error occured while making the query to the database" );
+        msg_Err( p_ml, "Error occurred while making the query to the database" );
         return VLC_EGENERIC;
     }
 
@@ -861,7 +861,7 @@ exit:
     free( ppsz_frompersons );
 
     if( i_ret != VLC_SUCCESS )
-        msg_Warn( p_ml, "an unknown error occured (%d)", i_ret );
+        msg_Warn( p_ml, "an unknown error occurred (%d)", i_ret );
 
     return i_ret;
 }
index ef1a8e4d508ce95ccac0d9db5bceae98eeaecb90..d93c6ca67d0185f9c9a2be30093b8c14d6750019 100644 (file)
@@ -731,7 +731,7 @@ static void Run(intf_thread_t *p_intf)
                     return;
 
                 case VLC_SUCCESS:
-                    msg_Dbg(p_intf, "Handshake successfull :)");
+                    msg_Dbg(p_intf, "Handshake successful :)");
                     b_handshaked = true;
                     i_interval = 0;
                     next_exchange = mdate();
index c533aece15dd1b557cbcb31ac5fb632e41ac21f5..7077a1fe73c6b474c78931cbb9d9b7de1357db60 100644 (file)
@@ -98,9 +98,9 @@ If you have questions please contact with me: Nick Kurshev: nickols_k@mail.ru.
 #undef HAVE_MMX1
 #if defined(HAVE_MMX) && !defined(HAVE_MMX2) && !defined(HAVE_3DNOW) && !defined(HAVE_SSE)
 /*  means: mmx v.1. Note: Since we added alignment of destinition it speedups
-    of memory copying on PentMMX, Celeron-1 and P2 upto 12% versus
+    of memory copying on PentMMX, Celeron-1 and P2 up to 12% versus
     standard (non MMX-optimized) version.
-    Note: on K6-2+ it speedups memory copying upto 25% and
+    Note: on K6-2+ it speedups memory copying up to 25% and
           on K7 and P3 about 500% (5 times). */
 #define HAVE_MMX1
 #endif
index 858867475787bea3daa4c6bc81012f01f7184a3b..e9fd17cb39c09d979bb7d94f2867a450c0261b80 100644 (file)
@@ -297,7 +297,7 @@ static int block_ChainToArray( block_t *p_block, block_t ***ppp_array)
 
 /**
  * Destructively find and recover the earliest timestamp from start of
- * bytestream, upto i_length.
+ * bytestream, up to i_length.
  */
 static void dirac_RecoverTimestamps ( decoder_t *p_dec, size_t i_length )
 {
@@ -520,7 +520,7 @@ static bool dirac_UnpackSeqHdr( struct seq_hdr_t *p_sh, block_t *p_block )
     uint32_t u_video_format = dirac_uint( &bs ); /* index */
     if( u_video_format > 20 )
     {
-        /* dont know how to parse this header */
+        /* don't know how to parse this header */
         return false;
     }
 
@@ -791,7 +791,7 @@ sync_fail:
     /* recover any timestamps from the data that is about to be flushed */
     dirac_RecoverTimestamps( p_dec, p_sys->i_offset );
 
-    /* flush everything upto the start of the DU */
+    /* flush everything up to the start of the DU */
     block_SkipBytes( &p_sys->bytestream, p_sys->i_offset );
     block_BytestreamFlush( &p_sys->bytestream );
     p_sys->i_offset = 0;
@@ -1038,7 +1038,7 @@ static block_t *dirac_BuildEncapsulationUnit( decoder_t *p_dec, block_t *p_block
  *
  * Returns:
  *  0: everything ok
- *  1: EOS occured, please flush and reset
+ *  1: EOS occurred, please flush and reset
  *  2: picture number discontinuity, please flush and reset
  */
 static int dirac_TimeGenPush( decoder_t *p_dec, block_t *p_block_in )
index 34372ba4702787e138a5279de3651f0280163aee..2e7498132311ff993406f521675fe6f19507f747 100644 (file)
@@ -237,7 +237,7 @@ int CFnordlichtConnection::getAmountFnordlichter()
 
 /*
     def sync(addr = 0)
-       1.upto(15) do
+       1.up to(15) do
           $dev.write "\e"
        end
        $dev.write addr.chr
index 52f3d1833ddf0457d6927eebaaa87264defc9ab0..c5b1749145e07df2c98802213389ff5863557e5c 100644 (file)
@@ -2062,7 +2062,7 @@ static void ExtractMiniImage_YUV(filter_sys_t *p_sys,
 
     /*  these two ugly loops extract the small image - goes it faster? how?
     the loops are so designed that there is a small border around the extracted
-    image so we wont get column and row - zero from the frame, and not the most
+    image so we won't get column and row - zero from the frame, and not the most
     right and bottom pixels --- which may be clipped on computers useing TV out
     - through overscan!
 
index bbcea0693a9d2c3dc36d4ab3b3a4c32ebcee3c1e..1c7650dc4eb40dcfffef676d6d5b39f1a5206b8b 100644 (file)
@@ -459,7 +459,7 @@ static void VlcPictureToIplImage( vout_thread_t *p_vout, picture_t *p_in )
         {
             //rgb2 gives 3 separate planes, this gives 1 interleaved plane
             //rv24 gives is about 20% faster but gives r&b the wrong way round
-            //and I cant think of an easy way to fix this
+            //and I can't think of an easy way to fix this
             fmt_out.i_chroma = VLC_CODEC_RGB32;
         }
         else if (p_sys->i_internal_chroma == GREY)
index dd53f3d30d9b7e48c4364a1509cce4a14fb6960c..a39f2718e9cb91b2eab7c37649b269c12997ac94 100644 (file)
@@ -652,7 +652,7 @@ static void* vnc_worker_thread( void *obj )
 
     if( !handshaking ( p_filter ) )
     {
-        msg_Err( p_filter, "Error occured while handshaking vnc host" );
+        msg_Err( p_filter, "Error occurred while handshaking vnc host" );
         goto exit;
     }
 
index d1d479a89664861765c4d0ae0afcbfcd60885eac..ff8212c780f2c7d6ccec166fe44fb703737ae7e7 100644 (file)
@@ -179,7 +179,7 @@ void CommonManage(vout_display_t *vd)
              * with the associated window (hvideownd)
              *
              * For directx, it is still important to call UpdateRects
-             * on a move of the parent window, even if no resize occured
+             * on a move of the parent window, even if no resize occurred
              */
             SetWindowPos(sys->hwnd, 0, 0, 0,
                          rect_parent.right - rect_parent.left,
index 6908f7189c539a91e4864fa3067876e8240a5e54..fb12f49b2bafd50130bc8136c91e15aeb2afafeb 100644 (file)
@@ -64,7 +64,7 @@ typedef enum VLCMediaState
     VLCMediaStateNothingSpecial,        //< Nothing
     VLCMediaStateBuffering,             //< Stream is buffering
     VLCMediaStatePlaying,               //< Stream is playing
-    VLCMediaStateError,                 //< Can't be played because an error occured
+    VLCMediaStateError,                 //< Can't be played because an error occurred
 } VLCMediaState;
 
 /**
index 5470d4838f979b8d463509c1588e665d1f10fdee..33b0f3e595661b6f614988bb7f7be9d771b41cd3 100644 (file)
@@ -133,7 +133,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
     if( psz_file == NULL )
         return VLC_ENOMEM;
 
-    /* loosy check for media library file */
+    /* lousy check for media library file */
     struct stat st;
     if( vlc_stat( psz_file, &st ) )
     {
index 2c05200f2590d46edafb89d688f37b0e0e85bf40..fbcd9de67492523310093513076641b5755b495c 100644 (file)
@@ -265,7 +265,7 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
         psz_arturl = input_item_GetArtURL( p_input );
         psz_name = input_item_GetName( p_input );
 
-        /* p_input->p_meta should not be null after a successfull CreateThread */
+        /* p_input->p_meta should not be null after a successful CreateThread */
         b_has_art = !EMPTY_STR( psz_arturl );
 
         if( !b_has_art || strncmp( psz_arturl, "attachment://", 13 ) )
index 4b51a6bcad01843e393d9408747f4048a3e7e6ca..17cddabdd2258d56da3668cde8561ea20201876c 100644 (file)
@@ -1280,7 +1280,7 @@ out:
   Decodes a duration as defined by ISO 8601
   http://en.wikipedia.org/wiki/ISO_8601#Durations
   @param str A null-terminated string to convert
-  @return: The duration in seconds. -1 if an error occured.
+  @return: The duration in seconds. -1 if an error occurred.
 
   Exemple input string: "PT0H9M56.46S"
  */