source: abuse/trunk/src/language.cpp @ 124

Last change on this file since 124 was 124, checked in by Sam Hocevar, 15 years ago
  • Get rid of ugly tabs and trailing spaces everywhere.
File size: 507 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#include "config.h"
11
12#include "lisp.hpp"
13
14char const *lang_string(char const *symbol)
15{
16  void *v=find_symbol(symbol);
17  if (!v || !DEFINEDP(symbol_value(v))) return "Language symbol missing!";
18  else return lstring_value(symbol_value(v));
19}
20
Note: See TracBrowser for help on using the repository browser.