diff options
| author | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
| commit | 90af4956738036172984f068502624bbc515cae7 (patch) | |
| tree | 7cd7177becaf98e676ae8eaa478f042e14505d3a /core/src/xmake/path/absolute.c | |
| parent | 700f08a7bae11c22295f884610f98b7b99eb1790 (diff) | |
fix trailing white-space
Diffstat (limited to 'core/src/xmake/path/absolute.c')
| -rw-r--r-- | core/src/xmake/path/absolute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/xmake/path/absolute.c b/core/src/xmake/path/absolute.c index f41f033cd..54584c1e3 100644 --- a/core/src/xmake/path/absolute.c +++ b/core/src/xmake/path/absolute.c @@ -11,7 +11,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * + * * Copyright (C) 2015-2020, TBOOX Open Source Group. * * @author ruki @@ -38,14 +38,14 @@ tb_int_t xm_path_absolute(lua_State* lua) // check tb_assert_and_check_return_val(lua, 0); - // get the path + // get the path tb_char_t const* path = luaL_checkstring(lua, 1); tb_check_return_val(path, 0); - // get the root + // get the root tb_char_t const* root = luaL_optstring(lua, 2, tb_null); - // done path:absolute(root) + // done path:absolute(root) tb_char_t data[TB_PATH_MAXN]; lua_pushstring(lua, tb_path_absolute_to(root, path, data, sizeof(data) - 1)); |
