Revision 5fafdf24 cutils.c

b/cutils.c
1 1
/*
2 2
 * Simple C functions to supplement the C library
3
 * 
3
 *
4 4
 * Copyright (c) 2006 Fabrice Bellard
5 5
 *
6 6
 * Permission is hereby granted, free of charge, to any person obtaining a copy
......
45 45
{
46 46
    int len;
47 47
    len = strlen(buf);
48
    if (len < buf_size) 
48
    if (len < buf_size)
49 49
        pstrcpy(buf + len, buf_size - len, s);
50 50
    return buf;
51 51
}

Also available in: Unified diff