aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_cactus_top.png
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-07-08 23:45:14 +0200
committerkwolekr <kwolekr@minetest.net>2013-07-08 19:58:17 -0400
commit39d03148e5d98ef5f9a31b131a79ff2bbd71a877 (patch)
treecc91012b059d938707d21b3c934aeab1b5c88073 /games/minimal/mods/default/textures/default_cactus_top.png
parentf419f66546b72ed265a5a4dc96569aeee8880d7a (diff)
downloadminetest-39d03148e5d98ef5f9a31b131a79ff2bbd71a877.tar.gz
minetest-39d03148e5d98ef5f9a31b131a79ff2bbd71a877.tar.bz2
minetest-39d03148e5d98ef5f9a31b131a79ff2bbd71a877.zip
Fix serverlist not beeing escaped correctly
Always use address for server Fix first (empty) element beeing selected after deleting last world
Diffstat (limited to 'games/minimal/mods/default/textures/default_cactus_top.png')
0 files changed, 0 insertions, 0 deletions
'n150' href='#n150'>150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
/*
** $Id: loslib.c,v 1.19.1.3 2008/01/18 16:38:18 roberto Exp $
** Standard Operating System library
** See Copyright Notice in lua.h
*/


#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

#define loslib_c
#define LUA_LIB

#include "lua.h"

#include "lauxlib.h"
#include "lualib.h"


static int os_pushresult (lua_State *L, int i, const char *filename) {
  int en = errno;  /* calls to Lua API may change this value */
  if (i) {
    lua_pushboolean(L, 1);
    return 1;
  }
  else {
    lua_pushnil(L);