summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-12-05 00:11:09 +0000
committerjstebbins <[email protected]>2008-12-05 00:11:09 +0000
commitc6fc88888ef58b2063594659f3e08c1251ea776a (patch)
treec344c469189e0f1c7e58805d23aea9870477967c /gtk/src/presets.c
parent766943e7149265a9ae029292eae90e01d960dad6 (diff)
LinGui: make preview scalling take screen PAR into account
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2007 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r--gtk/src/presets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 4153e38e4..8f38f7ea1 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -555,7 +555,7 @@ presets_find_default2(GValue *presets, gint *len)
{
if (preset_is_default(dict))
{
- indices = malloc(MAX_NESTED_PRESET * sizeof(gint));
+ indices = g_malloc(MAX_NESTED_PRESET * sizeof(gint));
indices[*len] = ii;
(*len)++;
return indices;