Subversion Repositories SvarDOS

Rev

Rev 968 | Rev 1001 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 968 Rev 985
Line 109... Line 109...
109
 
109
 
110
 
110
 
111
void nls_output_internal(unsigned short id, unsigned char nl, unsigned char handle) {
111
void nls_output_internal(unsigned short id, unsigned char nl, unsigned char handle) {
112
  const char *NOTFOUND = "NLS_STRING_NOT_FOUND";
112
  const char *NOTFOUND = "NLS_STRING_NOT_FOUND";
113
  const char *ptr = svarlang_strid(id);
113
  const char *ptr = svarlang_strid(id);
114
  if (ptr == NULL) ptr = NOTFOUND;
114
  if ((ptr == NULL) || (ptr[0]) == 0) ptr = NOTFOUND;
115
  output_internal(ptr, nl, handle);
115
  output_internal(ptr, nl, handle);
116
}
116
}
117
 
117
 
118
 
118
 
119
/* output DOS error e to stdout, if stdout is redirected then *additionally*
119
/* output DOS error e to stdout, if stdout is redirected then *additionally*