<commit_before>#include "graphics.h"

SDL_Surface *display;
int create_display()
{
    int flags = SDL_HWSURFACE | SDL_DOUBLEBUF;

    if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
        return 0;
    }

    if (display = SDL_SetVideoMode(640, 480, 32, flags)) {
        return 1;
    }

    return 0;
}
<commit_msg>Changed assignment comparison to be compliant to ANSI C.<commit_after>#include "graphics.h"

SDL_Surface *display;
int create_display()
{
    int flags = SDL_HWSURFACE | SDL_DOUBLEBUF;

    if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
        return 0;
    }

    if ((display = SDL_SetVideoMode(640, 480, 32, flags)) != NULL) {
        return 1;
    }

    return 0;
}

{'fraction_non_alphanumeric': 0.1134020618556701, 'fraction_numerical': 0.035346097201767304, 'mean_word_length': 2.953488372093023, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4365486', 'n_tokens_mistral': 282, 'n_tokens_neox': 242, 'n_words': 59}