~vorlon/ubuntu/natty/libthai/multiarch

« back to all changes in this revision

Viewing changes to src/thwstr/thwstr.c

  • Committer: Bazaar Package Importer
  • Author(s): Theppitak Karoonboonyanan
  • Date: 2008-06-21 11:16:43 UTC
  • mfrom: (3.1.4 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080621111643-lfo0bvhwz4pdwpl4
Tags: 0.1.9-4
* debian/libthai-doc.doc-base: Correct doc-base section (Programming).
* debian/copyright: Update format to recent proposal.
* debian/watch: Fix watch pattern so that only *.tar.gz is matched, not
  *.tar.gz.md5sum.
* debian/rules: Use 'make -C $dir' instead of 'cd $dir; make'.
* debian/control:
  - Add DM-Upload-Allowed
  - Bump Standards-Version to 3.8.0 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: thwstr.c,v 1.1 2001/09/30 14:03:26 thep Exp $
 
2
 * $Id: thwstr.c,v 1.2 2007-03-03 05:45:53 thep Exp $
3
3
 * thwstr.c - Thai string manipulators (Unicode wrapper)
4
4
 * Created: 2001-09-30
5
5
 * Author:  Theppitak Karoonboonyanan <thep@links.nectec.or.th>
11
11
#include <stdlib.h>
12
12
#include <assert.h>
13
13
 
14
 
int th_wthaichunk(thchar_t dest[], const thwchar_t *wsrc, size_t n)
 
14
static int th_wthaichunk(thchar_t dest[], const thwchar_t *wsrc, size_t n)
15
15
{
16
16
    if (*wsrc == 0) { return 0; }
17
17