From 573bd3875785aadde59a2c49b7903df76ae8c16e Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 23 Oct 2014 19:19:45 +0100 Subject: [PATCH] Fixed git_error not having an API error code. --- src/api/api.cpp | 1 + src/api/api.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/api/api.cpp b/src/api/api.cpp index f891d6e9..55a56c52 100644 --- a/src/api/api.cpp +++ b/src/api/api.cpp @@ -53,6 +53,7 @@ const unsigned int loot_error_invalid_args = loot::error::invalid_args; const unsigned int loot_error_no_tag_map = loot::error::no_tag_map; const unsigned int loot_error_path_not_found = loot::error::path_not_found; const unsigned int loot_error_no_game_detected = loot::error::no_game_detected; +const unsigned int loot_error_git_error = loot::error::git_error; const unsigned int loot_error_windows_error = loot::error::windows_error; const unsigned int loot_error_sorting_error = loot::error::sorting_error; const unsigned int loot_return_max = loot_error_sorting_error; diff --git a/src/api/api.h b/src/api/api.h index 9c390e97..da880fcb 100644 --- a/src/api/api.h +++ b/src/api/api.h @@ -182,6 +182,7 @@ extern "C" LOOT_API extern const unsigned int loot_error_no_tag_map; /**< No Bash Tag map has been generated yet. */ LOOT_API extern const unsigned int loot_error_path_not_found; /**< A file or folder path could not be found. */ LOOT_API extern const unsigned int loot_error_no_game_detected; /**< The given game could not be found. */ + LOOT_API extern const unsigned int loot_error_git_error; /**< An error occurred while performing a git operation (updating or getting the masterlist version). */ LOOT_API extern const unsigned int loot_error_windows_error; /**< An error occurred during a call to the Windows API. */ LOOT_API extern const unsigned int loot_error_sorting_error; /**< An error occurred while sorting plugins. */