Skip to content

Commit 8142567

Browse files
committed
Fix three typos
1 parent d46b75b commit 8142567

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libwacom/libwacom.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ typedef struct _WacomDeviceDatabase WacomDeviceDatabase;
133133
* @ingroup context
134134
*/
135135
enum WacomErrorCode {
136-
WERROR_NONE, /**< No error has occured */
136+
WERROR_NONE, /**< No error has occurred */
137137
WERROR_BAD_ALLOC, /**< Allocation error */
138138
WERROR_INVALID_PATH, /**< A path specified is invalid */
139139
WERROR_INVALID_DB, /**< The passed DB is invalid */
@@ -464,7 +464,7 @@ libwacom_new_from_builder(const WacomDeviceDatabase *db,
464464
* @param fallback Whether we should create a generic if model is unknown
465465
* @param error If not NULL, set to the error if any occurs
466466
*
467-
* @return A new reference to this device or NULL on errror.
467+
* @return A new reference to this device or NULL on error.
468468
*
469469
* @ingroup devices
470470
*/
@@ -487,7 +487,7 @@ libwacom_new_from_path(const WacomDeviceDatabase *db,
487487
* @param product_id The product ID of the device
488488
* @param error If not NULL, set to the error if any occurs
489489
*
490-
* @return A new reference to this device or NULL on errror.
490+
* @return A new reference to this device or NULL on error.
491491
*
492492
* @ingroup devices
493493
*/

0 commit comments

Comments
 (0)